Commit 44a8b8c6 authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens
Browse files

Need to call gettext in script-fu_menu_compare. Spotted by Sven. Removed

2004-11-20  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: Need to call gettext in
	script-fu_menu_compare. Spotted by Sven. Removed obsolete #define's.
parent 9d69dfec
2004-11-20 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: Need to call gettext in
script-fu_menu_compare. Spotted by Sven. Removed obsolete #define's.
2004-11-20 Michael Natterer <mitch@gimp.org>
 
* plug-ins/script-fu/script-fu-scripts.c: renamed variable
......
......@@ -45,15 +45,6 @@
#include "script-fu-intl.h"
#define RESPONSE_RESET 1
#define RESPONSE_ABOUT 2
#define TEXT_WIDTH 100
#define COLOR_SAMPLE_WIDTH 100
#define COLOR_SAMPLE_HEIGHT 15
#define SLIDER_WIDTH 80
typedef struct
{
gchar *pdb_name;
......@@ -1014,7 +1005,8 @@ script_fu_menu_compare (gconstpointer a,
const SFMenu *menu_b = b;
if (menu_a->menu_path && menu_b->menu_path)
return g_utf8_collate (menu_a->menu_path, menu_b->menu_path);
return g_utf8_collate (gettext (menu_a->menu_path),
gettext (menu_b->menu_path));
return 0;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment