[glib] Fix the signals test



commit 53d5a9f6fbd15f510300771c70e292de5b7b9a03
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 27 22:54:39 2016 -0400

    Fix the signals test
    
    The test setup here is not really independent, so the addition
    of the custom-marshaller test was breaking some of the other
    tests. Fix things up.

 gobject/tests/signals.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gobject/tests/signals.c b/gobject/tests/signals.c
index c1de480..23dd49d 100644
--- a/gobject/tests/signals.c
+++ b/gobject/tests/signals.c
@@ -258,7 +258,7 @@ test_class_init (TestClass *klass)
                 0);
   g_signal_set_va_marshaller (s, G_TYPE_FROM_CLASS (klass),
                              test_UINT__VOIDv);
-  simple_id = g_signal_new ("custom-marshaller",
+  g_signal_new ("custom-marshaller",
                 G_TYPE_FROM_CLASS (klass),
                 G_SIGNAL_RUN_LAST,
                 0,
@@ -1080,6 +1080,7 @@ test_introspection (void)
     "all-types-generic",
     "all-types-null",
     "all-types-empty",
+    "custom-marshaller",
     NULL
   };
   GSignalQuery query;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]