gobject-introspection/gobject-introspection-fix-regress.patch

22 lines
631 B
Diff

commit f02d8bd8aca34817a9085fc700fad88c874e3f18
Author: Vincent Untz <vuntz@gnome.org>
Date: Fri Sep 2 18:40:54 2011 +0200
Fix wrong type of variable in regression test
https://bugzilla.gnome.org/show_bug.cgi?id=658075
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index 04b4950..d44e692 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -224,7 +224,7 @@ regress_test_closure_variant (GClosure *closure, const GVariant* arg)
{
GValue return_value = {0, };
GValue arguments[1] = {{0,} };
- int ret;
+ GVariant *ret;
g_value_init (&return_value, G_TYPE_VARIANT);