From d1ef071f3326b626d773595079385dfa109353be Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Sun, 21 Sep 2008 20:28:19 +0100 Subject: [PATCH] delete bonged EchoVariant test method No way is this correct, it writes into the returned variant GValue without actually allocating it. I guess that's why it wasn't actually being called. :) --- test/core/my-object.c | 11 ----------- test/core/my-object.h | 2 -- test/core/test-service-glib.xml | 5 ----- 3 files changed, 0 insertions(+), 18 deletions(-) diff --git a/test/core/my-object.c b/test/core/my-object.c index f508496..f744efd 100644 --- a/test/core/my-object.c +++ b/test/core/my-object.c @@ -563,17 +563,6 @@ my_object_get_value (MyObject *obj, guint *ret, GError **error) return TRUE; } -gboolean -my_object_echo_variant (MyObject *obj, GValue *variant, GValue *ret, GError **error) -{ - GType t; - t = G_VALUE_TYPE(variant); - g_value_init (ret, t); - g_value_copy (variant, ret); - - return TRUE; -} - gboolean my_object_process_variant_of_array_of_ints123 (MyObject *obj, GValue *variant, GError **error) { diff --git a/test/core/my-object.h b/test/core/my-object.h index 75f4c46..7815ba0 100644 --- a/test/core/my-object.h +++ b/test/core/my-object.h @@ -89,8 +89,6 @@ gboolean my_object_emit_signal2 (MyObject *obj, GError **error); gboolean my_object_emit_frobnicate (MyObject *obj, GError **error); -gboolean my_object_echo_variant (MyObject *obj, GValue *variant, GValue *ret, GError **error); - gboolean my_object_process_variant_of_array_of_ints123 (MyObject *obj, GValue *variant, GError **error); gboolean my_object_dict_of_dicts (MyObject *obj, GHashTable *dict, GHashTable **ret, GError **error); diff --git a/test/core/test-service-glib.xml b/test/core/test-service-glib.xml index fca02af..edda067 100644 --- a/test/core/test-service-glib.xml +++ b/test/core/test-service-glib.xml @@ -128,11 +128,6 @@ - - - - - -- 1.5.4.4