diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-09-01 05:11:46 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-09-01 05:11:46 +0000 |
commit | 94eec042676a8e18cebc9af8f27cd251355f4ba4 (patch) | |
tree | 51b9ff698258fc9799413f62fb82589c8d525f0e /gtk/gtkgc.c | |
parent | f4bbe8f0deb8d1c36829acfc791d632d27805f30 (diff) | |
download | gtk+-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/gtkgc.c')
-rw-r--r-- | gtk/gtkgc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkgc.c b/gtk/gtkgc.c index b53bcaaedf..4073ed384a 100644 --- a/gtk/gtkgc.c +++ b/gtk/gtkgc.c @@ -26,6 +26,7 @@ #include <config.h> #include "gtkgc.h" +#include "gtkintl.h" #include "gtkalias.h" @@ -116,7 +117,7 @@ gtk_gc_get_drawable_ht (GdkScreen *screen) (GEqualFunc) gtk_gc_drawable_equal, NULL, free_gc_drawable); g_object_set_data_full (G_OBJECT (screen), - g_intern_static_string ("gtk-gc-drawable-ht"), ht, + I_("gtk-gc-drawable-ht"), ht, (GDestroyNotify)g_hash_table_destroy); } |