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().
This commit is contained in:
Matthias Clasen
2005-09-01 05:11:46 +00:00
committed by Matthias Clasen
parent f4bbe8f0de
commit 94eec04267
185 changed files with 798 additions and 698 deletions

View File

@ -462,7 +462,7 @@ gtk_combo_box_get_type (void)
};
combo_box_type = g_type_register_static (GTK_TYPE_BIN,
g_intern_static_string ("GtkComboBox"),
I_("GtkComboBox"),
&combo_box_info,
0);
@ -533,7 +533,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass)
* Since: 2.4
*/
combo_box_signals[CHANGED] =
g_signal_new ("changed",
g_signal_new (I_("changed"),
G_OBJECT_CLASS_TYPE (klass),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkComboBoxClass, changed),
@ -2544,7 +2544,7 @@ gtk_combo_box_menu_fill_level (GtkComboBox *combo_box,
item = gtk_separator_menu_item_new ();
path = gtk_tree_model_get_path (model, &iter);
g_object_set_data_full (G_OBJECT (item),
g_intern_static_string ("gtk-combo-box-item-path"),
I_("gtk-combo-box-item-path"),
gtk_tree_row_reference_new (model, path),
(GDestroyNotify)gtk_tree_row_reference_free);
gtk_tree_path_free (path);
@ -3065,7 +3065,7 @@ gtk_combo_box_menu_row_inserted (GtkTreeModel *model,
{
item = gtk_separator_menu_item_new ();
g_object_set_data_full (G_OBJECT (item),
g_intern_static_string ("gtk-combo-box-item-path"),
I_("gtk-combo-box-item-path"),
gtk_tree_row_reference_new (model, path),
(GDestroyNotify)gtk_tree_row_reference_free);
}