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