[glib/wip/gcleanup: 89/106] filter-streams: Cleanup custom classes in test



commit 0665c0c860af684bcf08aa902050b17a9d1736c6
Author: Stef Walter <stefw gnome org>
Date:   Fri Nov 8 14:28:40 2013 +0100

    filter-streams: Cleanup custom classes in test
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711799

 gio/tests/filter-streams.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gio/tests/filter-streams.c b/gio/tests/filter-streams.c
index 5ec23ae..18a3964 100644
--- a/gio/tests/filter-streams.c
+++ b/gio/tests/filter-streams.c
@@ -10,6 +10,7 @@
  *
  * Author: Ryan Lortie <desrt desrt ca>
  */
+#define G_CLEANUP_MODULE test
 
 #include <string.h>
 #include <glib/glib.h>
@@ -377,6 +378,8 @@ test_output_async (void)
   g_main_loop_unref (loop);
 }
 
+G_CLEANUP_DEFINE
+
 int
 main (int argc, char **argv)
 {


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