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