[glib] gio: Remove unused variables from test



commit b92e2cd8f8d88a62f14c49e8255802512c156152
Author: Benjamin Otte <otte redhat com>
Date:   Thu Dec 2 20:08:34 2010 +0100

    gio: Remove unused variables from test

 gio/tests/gapplication-example-actions.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gio/tests/gapplication-example-actions.c b/gio/tests/gapplication-example-actions.c
index 5becb95..0b8be94 100644
--- a/gio/tests/gapplication-example-actions.c
+++ b/gio/tests/gapplication-example-actions.c
@@ -13,8 +13,6 @@ activate_action (GAction  *action,
                  GVariant *parameter,
                  gpointer  data)
 {
-  GApplication *application = data;
-
   g_print ("action %s activated\n", g_action_get_name (action));
 }
 
@@ -23,7 +21,6 @@ activate_toggle_action (GAction  *action,
                         GVariant *parameter,
                         gpointer  data)
 {
-  GApplication *application = data;
   GVariant *state;
   gboolean b;
 



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