nemiver r683 - in trunk: . src



Author: jjongsma
Date: Tue Jan 15 16:03:26 2008
New Revision: 683
URL: http://svn.gnome.org/viewvc/nemiver?rev=683&view=rev

Log:
	* src/main.cc: don't use g_option_context_set_summary unless the glib
	version is at least 2.12.  This is just a descriptive string, so it's not
	worth bumping the minimum version in configure.ac just for this


Modified:
   trunk/ChangeLog
   trunk/src/main.cc

Modified: trunk/src/main.cc
==============================================================================
--- trunk/src/main.cc	(original)
+++ trunk/src/main.cc	Tue Jan 15 16:03:26 2008
@@ -177,8 +177,10 @@
     GOptionContextSafePtr context ;
     context.reset (g_option_context_new
         (_(" [<prog-to-debug> [prog-args]]")));
+#if GLIB_CHECK_VERSION (2, 12, 0)
     g_option_context_set_summary (context.get (),
-                                  _("A C/C++ debugger for GNOME")) ;
+            _("A C/C++ debugger for GNOME")) ;
+#endif
     g_option_context_set_help_enabled (context.get (), true) ;
     g_option_context_add_main_entries (context.get (),
                                        entries,



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