From 468dc56a6ee3c16eacfa2cdd63295b03fe1ba98d Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Wed, 21 Jan 2015 17:38:05 +0100
Subject: [PATCH] disable gdk deprecation warnings
Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
src/gtk-helpers/Makefile.am | 1 +
src/gui-wizard-gtk/Makefile.am | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/gtk-helpers/Makefile.am b/src/gtk-helpers/Makefile.am
index a7cc554..80f1981 100644
--- a/src/gtk-helpers/Makefile.am
+++ b/src/gtk-helpers/Makefile.am
@@ -31,6 +31,7 @@ libreport_gtk_la_CPPFLAGS = \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
-DWORKFLOWS_DIR=\"$(WORKFLOWS_DIR)\" \
+ -DGDK_DISABLE_DEPRECATION_WARNINGS \
-D_GNU_SOURCE
libreport_gtk_la_LDFLAGS = \
-version-info 0:1:0
diff --git a/src/gui-wizard-gtk/Makefile.am b/src/gui-wizard-gtk/Makefile.am
index 37e7ba6..fce33cb 100644
--- a/src/gui-wizard-gtk/Makefile.am
+++ b/src/gui-wizard-gtk/Makefile.am
@@ -22,6 +22,7 @@ report_gtk_CFLAGS = \
-DICON_DIR=\"${datadir}/abrt/icons/hicolor/48x48/status\" \
-DWORKFLOWS_DIR=\"$(WORKFLOWS_DIR)\" \
-DLIBEXEC_DIR=\"$(libexecdir)\" \
+ -DGDK_DISABLE_DEPRECATION_WARNINGS \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
-D_GNU_SOURCE
--
2.1.0