[gimp/gtk3-port: 88/251] libgimpwidgets: port to GtkComboBoxText
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 88/251] libgimpwidgets: port to GtkComboBoxText
- Date: Mon, 28 Mar 2011 19:30:09 +0000 (UTC)
commit 6a60f4d1c2e4d8de4adcc9f1768afa0564baeac5
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 20 13:28:15 2010 +0200
libgimpwidgets: port to GtkComboBoxText
libgimpwidgets/gimppropwidgets.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/libgimpwidgets/gimppropwidgets.c b/libgimpwidgets/gimppropwidgets.c
index 13fc32c..e718733 100644
--- a/libgimpwidgets/gimppropwidgets.c
+++ b/libgimpwidgets/gimppropwidgets.c
@@ -551,17 +551,10 @@ gimp_prop_boolean_combo_box_new (GObject *config,
property_name, &value,
NULL);
-#if GTK_CHECK_VERSION (2, 24, 0)
combo_box = gtk_combo_box_text_new ();
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), true_text);
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo_box), false_text);
-#else
- combo_box = gtk_combo_box_new_text ();
-
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), true_text);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo_box), false_text);
-#endif
gtk_combo_box_set_active (GTK_COMBO_BOX (combo_box), value ? 0 : 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]