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/gtkmodules.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/gtkmodules.c')
-rw-r--r-- | gtk/gtkmodules.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c index ff4ff921eb..33020f72fb 100644 --- a/gtk/gtkmodules.c +++ b/gtk/gtkmodules.c @@ -26,6 +26,7 @@ #include "gtksettings.h" #include "gtkdebug.h" #include "gtkprivate.h" /* GTK_LIBDIR */ +#include "gtkintl.h" #include <gmodule.h> #include <pango/pango-utils.h> /* For pango_split_file_list */ @@ -428,7 +429,7 @@ display_closed_cb (GdkDisplay *display, settings = gtk_settings_get_for_screen (screen); g_object_set_data_full (G_OBJECT (settings), - g_intern_static_string ("gtk-modules"), + I_("gtk-modules"), NULL, NULL); } } @@ -535,7 +536,7 @@ _gtk_modules_settings_changed (GtkSettings *settings, new_modules = load_modules (modules); g_object_set_data_full (G_OBJECT (settings), - g_intern_static_string ("gtk-modules"), + I_("gtk-modules"), new_modules, settings_destroy_notify); } |