]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkcellrenderercombo.c
Without setting "detail-width-chars" and "detail-height-rows"
[~andy/gtk] / gtk / gtkcellrenderercombo.c
index c47cc3360cda7f72b96fd8183c9997241ecccd12..4f84d2905b7cfb88db9aa7e0968cbb29c09ae436 100644 (file)
@@ -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, 
-   * <emphasis>not</emphasis> the model backing the tree view to which this cell 
-   * renderer is attached.
+   * <emphasis>not</emphasis> 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);