summaryrefslogtreecommitdiff
path: root/gtk/gtkintl.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-09-01 05:11:46 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-09-01 05:11:46 +0000
commit94eec042676a8e18cebc9af8f27cd251355f4ba4 (patch)
tree51b9ff698258fc9799413f62fb82589c8d525f0e /gtk/gtkintl.h
parentf4bbe8f0deb8d1c36829acfc791d632d27805f30 (diff)
downloadgtk+-94eec042676a8e18cebc9af8f27cd251355f4ba4.tar.gz
Intern some more strings.
2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
Diffstat (limited to 'gtk/gtkintl.h')
-rw-r--r--gtk/gtkintl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkintl.h b/gtk/gtkintl.h
index d29723bb92..3e03c69ce9 100644
--- a/gtk/gtkintl.h
+++ b/gtk/gtkintl.h
@@ -10,4 +10,7 @@
#define P_(String) (String)
#endif
+/* not really I18N-related, but also a string marker macro */
+#define I_(string) g_intern_static_string (string)
+
#endif