Added glibl8n, fixed ruby define of _
This commit is contained in:
parent
22908f34cb
commit
ffcc9c7b6c
|
@ -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)
|
||||||
|
|
||||||
|
|
Reference in New Issue