spice-gtk/0002-build-sys-remove-GTK_DISABLE_DEPRECATED.patch
2013-02-06 19:44:46 +01:00

29 lines
957 B
Diff

From 15bd7ceba1434b5d710bfd16078044f30693467b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
Date: Wed, 6 Feb 2013 18:47:35 +0100
Subject: [PATCH spice-gtk 2/3] build-sys: remove GTK_DISABLE_DEPRECATED
Gtk 3.0 no longer includes deprecated headers if it's defined:
http://git.gnome.org/browse/gtk+/commit/?id=a1de67f438f057711353a55b322babce7044226f
We added it as a workaround for Gtk 2.0 build issue.
---
gtk/Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index d7cdbc5..eb64b13 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -69,7 +69,6 @@ KEYMAP_GEN = $(srcdir)/keymap-gen.pl
SPICE_COMMON_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GSpice\" \
-DSPICE_NO_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
-DSW_CANVAS_CACHE \
-DSPICE_GTK_LOCALEDIR=\"${SPICE_GTK_LOCALEDIR}\" \
-DPNP_IDS=\""$(PNP_IDS)"\" \
--
1.8.1.1.439.g50a6b54