summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesystemmodel.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/gtkfilesystemmodel.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/gtkfilesystemmodel.c')
-rw-r--r--gtk/gtkfilesystemmodel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkfilesystemmodel.c b/gtk/gtkfilesystemmodel.c
index 7d37afb3df..3dbbe34b1c 100644
--- a/gtk/gtkfilesystemmodel.c
+++ b/gtk/gtkfilesystemmodel.c
@@ -233,7 +233,7 @@ _gtk_file_system_model_get_type (void)
};
file_system_model_type = g_type_register_static (G_TYPE_OBJECT,
- g_intern_static_string ("GtkFileSystemModel"),
+ I_("GtkFileSystemModel"),
&file_system_model_info, 0);
g_type_add_interface_static (file_system_model_type,
GTK_TYPE_TREE_MODEL,
@@ -256,7 +256,7 @@ gtk_file_system_model_class_init (GtkFileSystemModelClass *class)
gobject_class->finalize = gtk_file_system_model_finalize;
file_system_model_signals[FINISHED_LOADING] =
- g_signal_new ("finished-loading",
+ g_signal_new (I_("finished-loading"),
G_OBJECT_CLASS_TYPE (gobject_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkFileSystemModelClass, finished_loading),
@@ -1493,7 +1493,7 @@ file_model_node_get_children (GtkFileSystemModel *model,
g_signal_connect (node->folder, "files-removed",
G_CALLBACK (files_removed_callback), node);
- g_object_set_data (G_OBJECT (node->folder), g_intern_static_string ("model-node"), node);
+ g_object_set_data (G_OBJECT (node->folder), I_("model-node"), node);
}
if (is_folder && !has_children)