[gimp/gtk3-port: 223/224] plug-ins: port file-gih to GtkComboBoxText



commit 9356d485957ccd08d07d3b041c46e36dc6ee9360
Author: Michael Natterer <mitch gimp org>
Date:   Sun Feb 6 13:57:51 2011 +0100

    plug-ins: port file-gih to GtkComboBoxText

 plug-ins/common/file-gih.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index 0ac2051..e8eef9d 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -1060,10 +1060,11 @@ gih_save_dialog (gint32 image_ID)
             cellw_adjust.rank0 = cellh_adjust.rank0 = NULL;
         }
 
-      cb = gtk_combo_box_new_text ();
+      cb = gtk_combo_box_text_new ();
 
       for (j = 0; j < G_N_ELEMENTS (selection_modes); j++)
-        gtk_combo_box_append_text (GTK_COMBO_BOX (cb), selection_modes[j]);
+        gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (cb),
+                                        selection_modes[j]);
 
       gtk_combo_box_set_active (GTK_COMBO_BOX (cb), 2);  /* random */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]