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/gtkfilechooserembed.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/gtkfilechooserembed.c')
-rw-r--r-- | gtk/gtkfilechooserembed.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkfilechooserembed.c b/gtk/gtkfilechooserembed.c index 8fc3719809..1f584a3d87 100644 --- a/gtk/gtkfilechooserembed.c +++ b/gtk/gtkfilechooserembed.c @@ -21,6 +21,7 @@ #include <config.h> #include "gtkfilechooserembed.h" #include "gtkmarshalers.h" +#include "gtkintl.h" #include "gtkalias.h" static void gtk_file_chooser_embed_class_init (gpointer g_iface); @@ -76,7 +77,7 @@ _gtk_file_chooser_embed_set_delegate (GtkFileChooserEmbed *receiver, g_return_if_fail (GTK_IS_FILE_CHOOSER_EMBED (receiver)); g_return_if_fail (GTK_IS_FILE_CHOOSER_EMBED (delegate)); - g_object_set_data (G_OBJECT (receiver), g_intern_static_string ("gtk-file-chooser-embed-delegate"), delegate); + g_object_set_data (G_OBJECT (receiver), I_("gtk-file-chooser-embed-delegate"), delegate); g_signal_connect (delegate, "default_size_changed", G_CALLBACK (delegate_default_size_changed), receiver); @@ -138,7 +139,7 @@ _gtk_file_chooser_embed_get_type (void) }; file_chooser_embed_type = g_type_register_static (G_TYPE_INTERFACE, - g_intern_static_string ("GtkFileChooserEmbed"), + I_("GtkFileChooserEmbed"), &file_chooser_embed_info, 0); g_type_interface_add_prerequisite (file_chooser_embed_type, GTK_TYPE_WIDGET); @@ -152,7 +153,7 @@ gtk_file_chooser_embed_class_init (gpointer g_iface) { GType iface_type = G_TYPE_FROM_INTERFACE (g_iface); - g_signal_new ("default-size-changed", + g_signal_new (I_("default-size-changed"), iface_type, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkFileChooserEmbedIface, default_size_changed), |