[Xfce4-commits] [apps/xfce4-taskmanager] 02/06: no need for HAVE_GTK3 when you already check for GTK_CHECK_VERSION(2, 24, 1)
noreply at xfce.org
noreply at xfce.org
Thu Dec 11 19:11:14 CET 2014
This is an automated email from the git hooks/post-receive script.
landry pushed a commit to branch landry/gtk3
in repository apps/xfce4-taskmanager.
commit 16722479ab9ba6b22d57923fa28311bc15f56a9a
Author: Landry Breuil <landry at xfce.org>
Date: Thu Dec 11 18:19:29 2014 +0100
no need for HAVE_GTK3 when you already check for GTK_CHECK_VERSION(2, 24, 1)
---
src/settings-dialog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/settings-dialog.c b/src/settings-dialog.c
index cd1ca76..ae56f36 100644
--- a/src/settings-dialog.c
+++ b/src/settings-dialog.c
@@ -119,7 +119,7 @@ xtm_settings_dialog_init (XtmSettingsDialog *dialog)
XtmToolbarStyle toolbar_style;
box = GTK_WIDGET (gtk_builder_get_object (builder, "hbox-toolbar-style"));
-#if HAVE_GTK3 || GTK_CHECK_VERSION(2, 24, 1)
+#if GTK_CHECK_VERSION(2, 24, 1)
combobox = gtk_combo_box_text_new ();
#else
combobox = gtk_combo_box_new_text ();
@@ -129,7 +129,7 @@ xtm_settings_dialog_init (XtmSettingsDialog *dialog)
klass = g_type_class_ref (XTM_TYPE_TOOLBAR_STYLE);
for (n = 0; n < klass->n_values; ++n)
-#if HAVE_GTK3 || GTK_CHECK_VERSION(2, 24, 1)
+#if GTK_CHECK_VERSION(2, 24, 1)
gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combobox), _(klass->values[n].value_nick));
#else
gtk_combo_box_append_text (GTK_COMBO_BOX (combobox), _(klass->values[n].value_nick));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list