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/gtkcellrenderer.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/gtkcellrenderer.c')
-rw-r--r-- | gtk/gtkcellrenderer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c index 4df4c4c23c..3f4d52e3bf 100644 --- a/gtk/gtkcellrenderer.c +++ b/gtk/gtkcellrenderer.c @@ -97,7 +97,7 @@ gtk_cell_renderer_get_type (void) NULL, /* value_table */ }; - cell_type = g_type_register_static (GTK_TYPE_OBJECT, g_intern_static_string ("GtkCellRenderer"), + cell_type = g_type_register_static (GTK_TYPE_OBJECT, I_("GtkCellRenderer"), &cell_info, G_TYPE_FLAG_ABSTRACT); } @@ -145,7 +145,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class) * Since: 2.4 */ cell_renderer_signals[EDITING_CANCELED] = - g_signal_new ("editing-canceled", + g_signal_new (I_("editing-canceled"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkCellRendererClass, editing_canceled), @@ -190,7 +190,7 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class) * Since: 2.6 */ cell_renderer_signals[EDITING_STARTED] = - g_signal_new ("editing-started", + g_signal_new (I_("editing-started"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkCellRendererClass, editing_started), |