summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.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/gtkentrycompletion.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/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index f2857a7b2e..9b558e8b1b 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -171,7 +171,7 @@ gtk_entry_completion_get_type (void)
};
entry_completion_type =
- g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkEntryCompletion"),
+ g_type_register_static (G_TYPE_OBJECT, I_("GtkEntryCompletion"),
&entry_completion_info, 0);
g_type_add_interface_static (entry_completion_type,
@@ -216,7 +216,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
* Since: 2.6
*/
entry_completion_signals[INSERT_PREFIX] =
- g_signal_new ("insert_prefix",
+ g_signal_new (I_("insert_prefix"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEntryCompletionClass, insert_prefix),
@@ -241,7 +241,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
* Since: 2.4
*/
entry_completion_signals[MATCH_SELECTED] =
- g_signal_new ("match_selected",
+ g_signal_new (I_("match_selected"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEntryCompletionClass, match_selected),
@@ -261,7 +261,7 @@ gtk_entry_completion_class_init (GtkEntryCompletionClass *klass)
* Since: 2.4
*/
entry_completion_signals[ACTION_ACTIVATED] =
- g_signal_new ("action_activated",
+ g_signal_new (I_("action_activated"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEntryCompletionClass, action_activated),