[glib] Fix warning



commit 67193f55c3201e32405c5a15621d49f703b83f8f
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Wed Jun 9 10:27:39 2010 +0200

    Fix warning
    
    Disable functions defined but not used.

 gio/tests/filter-streams.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/filter-streams.c b/gio/tests/filter-streams.c
index c9b3e18..050a4ea 100644
--- a/gio/tests/filter-streams.c
+++ b/gio/tests/filter-streams.c
@@ -79,6 +79,7 @@ gpointer expected_obj;
 gpointer expected_data;
 gboolean callback_happened;
 
+#if 0
 static void
 in_cb (GObject      *object,
        GAsyncResult *result,
@@ -167,7 +168,6 @@ out_cb (GObject      *object,
   callback_happened = TRUE;
 }
 
-
 static void
 test_output_async (void)
 {
@@ -221,7 +221,7 @@ test_output_async (void)
   g_assert (g_output_stream_is_closed (base));
   g_object_unref (base);
 }
-
+#endif
 
 int
 main (int argc, char **argv)



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