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

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