[glib] Avoid a compiler warning



commit dba1ae12a89e2acc8229db0e2f678109b836c6d0
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 1 22:01:15 2014 -0500

    Avoid a compiler warning

 gio/tests/basic-application.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/basic-application.c b/gio/tests/basic-application.c
index d1f9857..94100eb 100644
--- a/gio/tests/basic-application.c
+++ b/gio/tests/basic-application.c
@@ -230,8 +230,8 @@ action_cb (gpointer data)
                                               "action2",
                                               g_variant_new_boolean (TRUE));
         }
+      g_application_release (app);
     }
-  g_application_release (app);
 
   return G_SOURCE_REMOVE;
 }


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