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.
This commit is contained in:
Kevin Cozens
2004-11-20 17:18:37 +00:00
committed by Kevin Cozens
parent 9d69dfec29
commit 44a8b8c6b1
2 changed files with 7 additions and 10 deletions

View File

@ -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;
}