[gimp/gtk3-port: 221/249] plug-ins: port file-gih to GtkComboBoxText



commit b61b9de96b25acd5138be3c88f987fa234a23bf7
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 |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index adf4641..56cab74 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -1060,19 +1060,11 @@ gih_save_dialog (gint32 image_ID)
             cellw_adjust.rank0 = cellh_adjust.rank0 = NULL;
         }
 
-#if GTK_CHECK_VERSION (2, 24, 0)
       cb = gtk_combo_box_text_new ();
-#else
-      cb = gtk_combo_box_new_text ();
-#endif
 
       for (j = 0; j < G_N_ELEMENTS (selection_modes); j++)
-#if GTK_CHECK_VERSION (2, 24, 0)
         gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (cb),
                                         selection_modes[j]);
-#else
-        gtk_combo_box_append_text (GTK_COMBO_BOX (cb), selection_modes[j]);
-#endif
 
       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]