[libwnck] TestWnck: avoid depending on glib 2.34



commit 693b094d35f02c2f70c7ae97acec148ded5ab061
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Sep 3 16:28:34 2013 +0100

    TestWnck: avoid depending on glib 2.34

 libwnck/test-wnck.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/test-wnck.c b/libwnck/test-wnck.c
index 5d85131..585339e 100644
--- a/libwnck/test-wnck.c
+++ b/libwnck/test-wnck.c
@@ -78,7 +78,7 @@ main (int argc, char **argv)
   g_option_context_add_main_entries (ctxt, entries, NULL);
   g_option_context_add_group (ctxt, gtk_get_option_group (TRUE));
   g_option_context_parse (ctxt, &argc, &argv, NULL);
-  g_clear_pointer (&ctxt, g_option_context_free);
+  g_option_context_free (ctxt);
 
   wnck_set_default_mini_icon_size (icon_size);
 


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