From bdd8fef4c05b41f534f138b0cf2f252e6ebd379f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 18 Jun 2010 00:38:46 +0200 Subject: [PATCH] Fix VARIANT out args Use g_value_set_variant(), not the nonexistent g_value_take_variant(). --- gobject/glib-genmarshal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/glib-genmarshal.c b/gobject/glib-genmarshal.c index e382fdc9f..30e36adaa 100644 --- a/gobject/glib-genmarshal.c +++ b/gobject/glib-genmarshal.c @@ -249,7 +249,7 @@ complete_out_arg (OutArgument *oarg) { "BOXED", "BOXED", "gpointer", "g_value_take_boxed", }, { "POINTER", "POINTER", "gpointer", "g_value_set_pointer", }, { "OBJECT", "OBJECT", "GObject*", "g_value_take_object", }, - { "VARIANT", "VARIANT", "GVariant*", "g_value_take_variant", }, + { "VARIANT", "VARIANT", "GVariant*", "g_value_set_variant", }, /* deprecated: */ { "NONE", "VOID", "void", NULL, }, { "BOOL", "BOOLEAN", "gboolean", "g_value_set_boolean", },