gnome-build r573 - in trunk: . src/gbf



Author: jhs
Date: Fri Jun 13 20:39:13 2008
New Revision: 573
URL: http://svn.gnome.org/viewvc/gnome-build?rev=573&view=rev

Log:
2008-06-13  Johannes Schmid  <jhs gnome org>

	Patch from Micheal Terry <mike mterry name>:
	* src/gbf/test-project-view.c (main):
	Bug 517047 â [PATCH] Port to GOption


Modified:
   trunk/ChangeLog
   trunk/src/gbf/test-project-view.c

Modified: trunk/src/gbf/test-project-view.c
==============================================================================
--- trunk/src/gbf/test-project-view.c	(original)
+++ trunk/src/gbf/test-project-view.c	Fri Jun 13 20:39:13 2008
@@ -303,9 +303,13 @@
 int
 main (int argc, char *argv[])
 {
+    GOptionContext *option_context;
+    
+    option_context = g_option_context_new ("");
+    
 	gnome_program_init ("test-controls", VERSION, LIBGNOMEUI_MODULE, 
-			    argc, argv, GNOME_PARAM_POPT_TABLE, 
-			    bonobo_activation_popt_options, NULL);
+			    argc, argv, GNOME_PARAM_GOPTION_CONTEXT, option_context,
+			    GNOME_PARAM_NONE);
 
 	if (!bonobo_init (&argc, argv))
 		g_error (_("Can't initialize bonobo!"));



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