[Goodies-commits] r3738 - xfce4-notes-plugin/trunk/panel-plugin

Mike Massonnet mmassonnet at xfce.org
Sun Dec 23 23:08:48 CET 2007


Author: mmassonnet
Date: 2007-12-23 22:08:48 +0000 (Sun, 23 Dec 2007)
New Revision: 3738

Modified:
   xfce4-notes-plugin/trunk/panel-plugin/xfce4-popup-notes.c
Log:
	* panel-plugin/xfce4-popup-notes.c: Check for GTK version.


Modified: xfce4-notes-plugin/trunk/panel-plugin/xfce4-popup-notes.c
===================================================================
--- xfce4-notes-plugin/trunk/panel-plugin/xfce4-popup-notes.c	2007-12-23 22:08:26 UTC (rev 3737)
+++ xfce4-notes-plugin/trunk/panel-plugin/xfce4-popup-notes.c	2007-12-23 22:08:48 UTC (rev 3738)
@@ -74,7 +74,9 @@
       { NULL }
     };
 
+#if GLIB_CHECK_VERSION (2, 12, 0)
   g_option_context_set_summary (context, "The default action is to show/hide all windows");
+#endif
   g_option_context_add_main_entries (context, entries, NULL);
   if (G_LIKELY (! g_option_context_parse (context, &argc, &argv, &opt_error)))
     {




More information about the Goodies-commits mailing list