gentoo-full-overlay/net-misc/spice-gtk/files/spice-gtk-0.21-fix-g-clear-pointer-on-old-glib.patch

22 lines
726 B
Diff

From f31bc2a9a6700bebc258130e802f40180af77d8e Mon Sep 17 00:00:00 2001
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Fri, 20 Sep 2013 15:54:58 +0000
Subject: build-sys: fix g_clear_pointer usage on old glib
As pointed out and verified on the ML after 0.21 release by Klaus
Hochlehnert.
---
diff --git a/gtk/channel-cursor.c b/gtk/channel-cursor.c
index 0443b9f..bbfb3c9 100644
--- a/gtk/channel-cursor.c
+++ b/gtk/channel-cursor.c
@@ -15,6 +15,7 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "glib-compat.h"
#include "spice-client.h"
#include "spice-common.h"
--
cgit v0.9.0.2-2-gbebe