Added glibl8n, fixed ruby define of _

This commit is contained in:
Jesse van den Kieboom 2006-01-02 17:57:26 +00:00
parent 22908f34cb
commit ffcc9c7b6c
1 changed files with 3 additions and 1 deletions

View File

@ -7,10 +7,11 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include <libgnomevfs/gnome-vfs.h> #include <libgnomevfs/gnome-vfs.h>
#undef _
#include <glib/gi18n.h>
/* /*
* Standard gettext macros. * Standard gettext macros.
*/
#ifdef ENABLE_NLS #ifdef ENABLE_NLS
# include <libintl.h> # include <libintl.h>
# undef _ # undef _
@ -31,6 +32,7 @@
#endif #endif
# define N_(String) (String) # define N_(String) (String)
#endif #endif
*/
#define CALC_COLOR_RANGE(x) (int)((-(1/((x * 0.5)+1))+1)*255) #define CALC_COLOR_RANGE(x) (int)((-(1/((x * 0.5)+1))+1)*255)