X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkcellrenderercombo.c;h=4f84d2905b7cfb88db9aa7e0968cbb29c09ae436;hb=f35439bfacf90900e2c24f7ae3da173183c79d34;hp=c47cc3360cda7f72b96fd8183c9997241ecccd12;hpb=f4bbe8f0deb8d1c36829acfc791d632d27805f30;p=~andy%2Fgtk diff --git a/gtk/gtkcellrenderercombo.c b/gtk/gtkcellrenderercombo.c index c47cc3360..4f84d2905 100644 --- a/gtk/gtkcellrenderercombo.c +++ b/gtk/gtkcellrenderercombo.c @@ -61,7 +61,7 @@ enum { #define GTK_CELL_RENDERER_COMBO_PATH "gtk-cell-renderer-combo-path" -G_DEFINE_TYPE (GtkCellRendererCombo, gtk_cell_renderer_combo, GTK_TYPE_CELL_RENDERER_TEXT); +G_DEFINE_TYPE (GtkCellRendererCombo, gtk_cell_renderer_combo, GTK_TYPE_CELL_RENDERER_TEXT) static void gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass) @@ -94,13 +94,15 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass) /** * GtkCellRendererCombo:text-column: * - * Specifies the model column which holds the possible values for the combo box. + * Specifies the model column which holds the possible values for the + * combo box. + * * Note that this refers to the model specified in the model property, - * not the model backing the tree view to which this cell - * renderer is attached. + * not the model backing the tree view to which + * this cell renderer is attached. * - * #GtkCellRendererCombo automatically adds a text cell renderer for this column - * to its combo box. + * #GtkCellRendererCombo automatically adds a text cell renderer for + * this column to its combo box. * * Since: 2.6 */ @@ -117,8 +119,8 @@ gtk_cell_renderer_combo_class_init (GtkCellRendererComboClass *klass) /** * GtkCellRendererCombo:has-entry: * - * If %TRUE, the cell renderer will include an entry and allow to enter values - * other than the ones in the popup list. + * If %TRUE, the cell renderer will include an entry and allow to enter + * values other than the ones in the popup list. * * Since: 2.6 */ @@ -378,7 +380,7 @@ gtk_cell_renderer_combo_start_editing (GtkCellRenderer *cell, g_object_set (combo, "has-frame", FALSE, NULL); g_object_set_data_full (G_OBJECT (combo), - g_intern_static_string (GTK_CELL_RENDERER_COMBO_PATH), + I_(GTK_CELL_RENDERER_COMBO_PATH), g_strdup (path), g_free); gtk_widget_show (combo);