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/gtkhsv.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/gtkhsv.c')
-rw-r--r-- | gtk/gtkhsv.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkhsv.c b/gtk/gtkhsv.c index a23bbd2f14..3b4a16f1d6 100644 --- a/gtk/gtkhsv.c +++ b/gtk/gtkhsv.c @@ -30,6 +30,7 @@ #include "gtkbindings.h" #include "gtkcontainer.h" #include "gtkmarshalers.h" +#include "gtkintl.h" #include "gtkalias.h" /* @@ -144,7 +145,7 @@ gtk_hsv_get_type (void) (GInstanceInitFunc) gtk_hsv_init, }; - hsv_type = g_type_register_static (GTK_TYPE_WIDGET, g_intern_static_string ("GtkHSV"), + hsv_type = g_type_register_static (GTK_TYPE_WIDGET, I_("GtkHSV"), &hsv_info, 0); } @@ -184,7 +185,7 @@ gtk_hsv_class_init (GtkHSVClass *class) hsv_class->move = gtk_hsv_move; hsv_signals[CHANGED] = - g_signal_new ("changed", + g_signal_new (I_("changed"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkHSVClass, changed), @@ -193,7 +194,7 @@ gtk_hsv_class_init (GtkHSVClass *class) G_TYPE_NONE, 0); hsv_signals[MOVE] = - g_signal_new ("move", + g_signal_new (I_("move"), G_OBJECT_CLASS_TYPE (object_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GtkHSVClass, move), |