summaryrefslogtreecommitdiffstats
path: root/gtk/src/marshalers.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-22 23:41:03 +0000
committerjstebbins <[email protected]>2011-03-22 23:41:03 +0000
commit2ffb7ec124daa744abd4d7524b49158f6eb0ab09 (patch)
treeba3f65267c369c47854ba261008f656e31b7fe4f /gtk/src/marshalers.c
parent1c2d3f19a565733b756fb21bf53dea49a4b4e7ca (diff)
LinGui: don't use private gtk_marshal_* functions
They are not exported in gtk+-3, so create our own marshalers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3872 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/marshalers.c')
-rw-r--r--gtk/src/marshalers.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk/src/marshalers.c b/gtk/src/marshalers.c
index a87615269..832c98cfc 100644
--- a/gtk/src/marshalers.c
+++ b/gtk/src/marshalers.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,10 +45,13 @@
#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 */
-/* VOID:STRING,STRING (/home/jstebbins/Source/HandBrake.update-checks/build.debug/../gtk/src/marshalers.list:1) */
+/* VOID:STRING (/home/jstebbins/Source/hb/HandBrake/build.dbg/../gtk/src/marshalers.list:1) */
+
+/* VOID:STRING,STRING (/home/jstebbins/Source/hb/HandBrake/build.dbg/../gtk/src/marshalers.list:2) */
void
ghb_marshal_VOID__STRING_STRING (GClosure *closure,
GValue *return_value G_GNUC_UNUSED,
@@ -84,7 +88,7 @@ ghb_marshal_VOID__STRING_STRING (GClosure *closure,
data2);
}
-/* BOOLEAN:BOXED (/home/jstebbins/Source/HandBrake.update-checks/build.debug/../gtk/src/marshalers.list:2) */
+/* BOOLEAN:BOXED (/home/jstebbins/Source/hb/HandBrake/build.dbg/../gtk/src/marshalers.list:3) */
void
ghb_marshal_BOOLEAN__BOXED (GClosure *closure,
GValue *return_value G_GNUC_UNUSED,