Blame SOURCES/0001-wizard-do-not-use-deprecated-gtk3-API.patch

4b6aa8
From 0f2014b68ea19dd7a239c4c9b7a7774b03f2cca2 Mon Sep 17 00:00:00 2001
4b6aa8
From: Jakub Filak <jfilak@redhat.com>
4b6aa8
Date: Wed, 8 Jan 2014 09:38:30 +0100
4b6aa8
Subject: [LIBREPORT PATCH 1/6] wizard: do not use deprecated gtk3 API
4b6aa8
4b6aa8
Signed-off-by: Jakub Filak <jfilak@redhat.com>
4b6aa8
---
4b6aa8
 src/gui-wizard-gtk/wizard.c | 4 ++++
4b6aa8
 1 file changed, 4 insertions(+)
4b6aa8
4b6aa8
diff --git a/src/gui-wizard-gtk/wizard.c b/src/gui-wizard-gtk/wizard.c
4b6aa8
index c37f69f..3faa8e8 100644
4b6aa8
--- a/src/gui-wizard-gtk/wizard.c
4b6aa8
+++ b/src/gui-wizard-gtk/wizard.c
4b6aa8
@@ -2597,7 +2597,11 @@ static void add_workflow_buttons(GtkBox *box, GHashTable *workflows, GCallback f
4b6aa8
         gtk_label_set_use_markup(GTK_LABEL(label), true);
4b6aa8
         gtk_widget_set_halign(label, GTK_ALIGN_START);
4b6aa8
         gtk_widget_set_margin_top(label, 10);
4b6aa8
+#if ((GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION < 11) || (GTK_MAJOR_VERSION == 3 && GTK_MINOR_VERSION == 11 && GTK_MICRO_VERSION < 2))
4b6aa8
         gtk_widget_set_margin_left(label, 40);
4b6aa8
+#else
4b6aa8
+        gtk_widget_set_margin_start(label, 40);
4b6aa8
+#endif
4b6aa8
         gtk_widget_set_margin_bottom(label, 10);
4b6aa8
         free(btn_label);
4b6aa8
         g_signal_connect(button, "clicked", func, w);
4b6aa8
-- 
4b6aa8
1.8.3.1
4b6aa8