diff options
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index c5279a7ec9..904c12c09e 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -317,7 +317,7 @@ gtk_window_get_type (void) (GInstanceInitFunc) gtk_window_init, }; - window_type = g_type_register_static (GTK_TYPE_BIN, g_intern_static_string ("GtkWindow"), + window_type = g_type_register_static (GTK_TYPE_BIN, I_("GtkWindow"), &window_info, 0); } @@ -670,7 +670,7 @@ gtk_window_class_init (GtkWindowClass *klass) GTK_PARAM_READWRITE)); window_signals[SET_FOCUS] = - g_signal_new ("set_focus", + g_signal_new (I_("set_focus"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkWindowClass, set_focus), @@ -680,7 +680,7 @@ gtk_window_class_init (GtkWindowClass *klass) GTK_TYPE_WIDGET); window_signals[FRAME_EVENT] = - g_signal_new ("frame_event", + g_signal_new (I_("frame_event"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET(GtkWindowClass, frame_event), @@ -690,7 +690,7 @@ gtk_window_class_init (GtkWindowClass *klass) GDK_TYPE_EVENT); window_signals[ACTIVATE_FOCUS] = - g_signal_new ("activate_focus", + g_signal_new (I_("activate_focus"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GtkWindowClass, activate_focus), @@ -700,7 +700,7 @@ gtk_window_class_init (GtkWindowClass *klass) 0); window_signals[ACTIVATE_DEFAULT] = - g_signal_new ("activate_default", + g_signal_new (I_("activate_default"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GtkWindowClass, activate_default), @@ -710,7 +710,7 @@ gtk_window_class_init (GtkWindowClass *klass) 0); window_signals[MOVE_FOCUS] = - g_signal_new ("move_focus", + g_signal_new (I_("move_focus"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GtkWindowClass, move_focus), @@ -721,7 +721,7 @@ gtk_window_class_init (GtkWindowClass *klass) GTK_TYPE_DIRECTION_TYPE); window_signals[KEYS_CHANGED] = - g_signal_new ("keys_changed", + g_signal_new (I_("keys_changed"), G_TYPE_FROM_CLASS (gobject_class), G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkWindowClass, keys_changed), @@ -1731,7 +1731,7 @@ gtk_window_add_embedded_xid (GtkWindow *window, guint xid) embedded_windows = g_list_prepend (embedded_windows, GUINT_TO_POINTER (xid)); - g_object_set_data_full (G_OBJECT (window), g_intern_static_string ("gtk-embedded"), + g_object_set_data_full (G_OBJECT (window), I_("gtk-embedded"), embedded_windows, embedded_windows ? (GDestroyNotify) g_list_free : NULL); @@ -1757,7 +1757,7 @@ gtk_window_remove_embedded_xid (GtkWindow *window, guint xid) g_list_free_1 (node); } - g_object_set_data_full (G_OBJECT (window), g_intern_static_string ("gtk-embedded"), + g_object_set_data_full (G_OBJECT (window), I_("gtk-embedded"), embedded_windows, embedded_windows ? (GDestroyNotify) g_list_free : NULL); @@ -2558,7 +2558,7 @@ ensure_icon_info (GtkWindow *window) { info = g_new0 (GtkWindowIconInfo, 1); g_object_set_data_full (G_OBJECT (window), - g_intern_static_string ("gtk-window-icon-info"), + I_("gtk-window-icon-info"), info, (GDestroyNotify)free_icon_info); } @@ -2580,7 +2580,7 @@ get_screen_icon_info (GdkScreen *screen) if (!info) { info = g_new0 (ScreenIconInfo, 1); - g_object_set_data (G_OBJECT (screen), g_intern_static_string ("gtk-window-default-icon-pixmap"), info); + g_object_set_data (G_OBJECT (screen), I_("gtk-window-default-icon-pixmap"), info); } if (info->serial != default_icon_serial) @@ -6940,7 +6940,7 @@ gtk_window_group_get_type (void) (GInstanceInitFunc) NULL, }; - window_group_type = g_type_register_static (G_TYPE_OBJECT, g_intern_static_string ("GtkWindowGroup"), + window_group_type = g_type_register_static (G_TYPE_OBJECT, I_("GtkWindowGroup"), &window_group_info, 0); } @@ -7523,7 +7523,7 @@ gtk_window_get_key_hash (GtkWindow *window) key_hash = _gtk_key_hash_new (gdk_keymap_get_for_display (gdk_screen_get_display (screen)), (GDestroyNotify)g_free); _gtk_window_keys_foreach (window, add_to_key_hash, key_hash); - g_object_set_data (G_OBJECT (window), g_intern_static_string ("gtk-window-key-hash"), key_hash); + g_object_set_data (G_OBJECT (window), I_("gtk-window-key-hash"), key_hash); return key_hash; } |