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/gtkadjustment.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/gtkadjustment.c')
-rw-r--r-- | gtk/gtkadjustment.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkadjustment.c b/gtk/gtkadjustment.c index bc5f8064b2..6f31797bae 100644 --- a/gtk/gtkadjustment.c +++ b/gtk/gtkadjustment.c @@ -85,7 +85,7 @@ gtk_adjustment_get_type (void) }; adjustment_type = - g_type_register_static (GTK_TYPE_OBJECT, g_intern_static_string ("GtkAdjustment"), + g_type_register_static (GTK_TYPE_OBJECT, I_("GtkAdjustment"), &adjustment_info, 0); } @@ -213,7 +213,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) adjustment_signals[CHANGED] = - g_signal_new ("changed", + g_signal_new (I_("changed"), G_OBJECT_CLASS_TYPE (class), G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE, G_STRUCT_OFFSET (GtkAdjustmentClass, changed), @@ -221,7 +221,7 @@ gtk_adjustment_class_init (GtkAdjustmentClass *class) _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); adjustment_signals[VALUE_CHANGED] = - g_signal_new ("value_changed", + g_signal_new (I_("value_changed"), G_OBJECT_CLASS_TYPE (class), G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE, G_STRUCT_OFFSET (GtkAdjustmentClass, value_changed), |