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



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

    filter-streams: Cleanup custom classes in test

 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]