]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkintl.h
filechooserbutton: Update the combo box even after the dialog is cancelled
[~andy/gtk] / gtk / gtkintl.h
index d29723bb9272bf5568599dd5aafce2dea299c616..caeb68eb6019a6f9920986a972e5a83b306b8de6 100644 (file)
@@ -1,13 +1,15 @@
 #ifndef __GTKINTL_H__
 #define __GTKINTL_H__
 
-#include "config.h"
 #include <glib/gi18n-lib.h>
 
 #ifdef ENABLE_NLS
-#define P_(String) dgettext(GETTEXT_PACKAGE "-properties",String)
+#define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
 #else 
 #define P_(String) (String)
 #endif
 
+/* not really I18N-related, but also a string marker macro */
+#define I_(string) g_intern_static_string (string)
+
 #endif