aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2010-10-17 13:36:03 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2010-10-17 13:36:03 +0200
commit25668c20731722316ca78767ca0cddbf04a988a7 (patch)
tree1e159c0574e1f3d16d637ff62c8d7e53aa00d32e /src
parentf25062151941b0dfa90fdf4e6023754140b3fbcf (diff)
downloadlogdiag-25668c20731722316ca78767ca0cddbf04a988a7.tar.gz
logdiag-25668c20731722316ca78767ca0cddbf04a988a7.tar.xz
logdiag-25668c20731722316ca78767ca0cddbf04a988a7.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ld-marshal.c2
1 files changed, 2 insertions, 0 deletions
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 */