From 25668c20731722316ca78767ca0cddbf04a988a7 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 17 Oct 2010 13:36:03 +0200
Subject: Updated to new GTK+.
FindGTK2.cmake required a change for successful program compilation.
It seems that gdk_pixbuf has been put as a separate library.
The new tools also generate a slightly different version
of marshallers, so I've added it to the tree.
---
src/ld-marshal.c | 2 ++
1 file changed, 2 insertions(+)
(limited to 'src')
diff --git a/src/ld-marshal.c b/src/ld-marshal.c
index 19cc56d..ac88836 100644
--- a/src/ld-marshal.c
+++ b/src/ld-marshal.c
@@ -21,6 +21,7 @@
#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
#define g_marshal_value_peek_object(v) g_value_get_object (v)
+#define g_marshal_value_peek_variant(v) g_value_get_variant (v)
#else /* !G_ENABLE_DEBUG */
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
* Do not access GValues directly in your code. Instead, use the
@@ -44,6 +45,7 @@
#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
+#define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
#endif /* !G_ENABLE_DEBUG */
--
cgit v1.2.3-70-g09d2