summaryrefslogtreecommitdiff
path: root/gtk/gtkitem.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/gtkitem.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/gtkitem.c')
-rw-r--r--gtk/gtkitem.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/gtkitem.c b/gtk/gtkitem.c
index 34193e7e39..38a47580f6 100644
--- a/gtk/gtkitem.c
+++ b/gtk/gtkitem.c
@@ -27,6 +27,7 @@
#include <config.h>
#include "gtkitem.h"
#include "gtkmarshalers.h"
+#include "gtkintl.h"
#include "gtkalias.h"
@@ -71,7 +72,7 @@ gtk_item_get_type (void)
NULL, /* value_table */
};
- item_type = g_type_register_static (GTK_TYPE_BIN, g_intern_static_string ("GtkItem"),
+ item_type = g_type_register_static (GTK_TYPE_BIN, I_("GtkItem"),
&item_info, G_TYPE_FLAG_ABSTRACT);
}
@@ -96,7 +97,7 @@ gtk_item_class_init (GtkItemClass *class)
class->toggle = NULL;
item_signals[SELECT] =
- g_signal_new ("select",
+ g_signal_new (I_("select"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkItemClass, select),
@@ -104,7 +105,7 @@ gtk_item_class_init (GtkItemClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
item_signals[DESELECT] =
- g_signal_new ("deselect",
+ g_signal_new (I_("deselect"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkItemClass, deselect),
@@ -112,7 +113,7 @@ gtk_item_class_init (GtkItemClass *class)
_gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0);
item_signals[TOGGLE] =
- g_signal_new ("toggle",
+ g_signal_new (I_("toggle"),
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkItemClass, toggle),