From b36d22b022e00ddeb26499f285282b94d118a64c Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Wed, 20 Aug 2014 13:35:16 +0200
Subject: [PATCH 19/24] applet: disable GDK deprecation warnings
GtkStatusIcon is going to be dropped from gtk-3, but we cannot stop
using it because we have to support other desktop environments than
GNOME Desktop.
Related to #836
Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
src/applet/applet.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/applet/applet.c b/src/applet/applet.c
index 27c5fad..6dde217 100644
--- a/src/applet/applet.c
+++ b/src/applet/applet.c
@@ -21,7 +21,11 @@
#endif
#include <X11/Xlib.h>
#include <X11/SM/SMlib.h>
+
+#define GDK_DISABLE_DEPRECATION_WARNINGS
+/* https://bugzilla.gnome.org/show_bug.cgi?id=734826 */
#include <gtk/gtk.h>
+
#include <libnotify/notify.h>
#include <dbus/dbus-shared.h>
#include <dbus/dbus-glib.h>
--
2.1.0