summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
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/gtkfilesel.c
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/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 8cfe382b1a..c982ec3369 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -528,7 +528,7 @@ gtk_file_selection_get_type (void)
};
file_selection_type =
- g_type_register_static (GTK_TYPE_DIALOG, g_intern_static_string ("GtkFileSelection"),
+ g_type_register_static (GTK_TYPE_DIALOG, I_("GtkFileSelection"),
&filesel_info, 0);
}
@@ -985,7 +985,7 @@ filenames_dropped (GtkWidget *widget,
"Are you sure that you want to select it?"), filename_utf8, hostname);
g_free (filename_utf8);
- g_object_set_data_full (G_OBJECT (dialog), g_intern_static_string ("gtk-fs-dnd-filename"), g_strdup (filename), g_free);
+ g_object_set_data_full (G_OBJECT (dialog), I_("gtk-fs-dnd-filename"), g_strdup (filename), g_free);
g_signal_connect_data (dialog, "response",
(GCallback) dnd_really_drop,