add the gtk+ options to the GOptionContext.
2005-02-08 Sven Neumann <sven@gimp.org> * tools/gimp-remote.c: add the gtk+ options to the GOptionContext.
This commit is contained in:

committed by
Sven Neumann

parent
5b6946fe24
commit
2d38ab6a43
@ -1,3 +1,7 @@
|
||||
2005-02-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/gimp-remote.c: add the gtk+ options to the GOptionContext.
|
||||
|
||||
2005-02-08 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* INSTALL: updated.
|
||||
|
@ -355,12 +355,7 @@ main (gint argc,
|
||||
/* parse the command-line options */
|
||||
context = g_option_context_new ("[FILE|URI...]");
|
||||
g_option_context_add_main_entries (context, main_entries, NULL);
|
||||
|
||||
#ifdef __GNUC__
|
||||
#warning FIXME: add this code as soon as we depend on gtk+-2.6
|
||||
#endif
|
||||
/* g_option_context_add_group (context, gtk_get_option_group (TRUE));
|
||||
*/
|
||||
g_option_context_add_group (context, gtk_get_option_group (TRUE));
|
||||
|
||||
if (! g_option_context_parse (context, &argc, &argv, &error))
|
||||
{
|
||||
|
Reference in New Issue
Block a user