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:
Sven Neumann
2005-02-08 20:18:07 +00:00
committed by Sven Neumann
parent 5b6946fe24
commit 2d38ab6a43
2 changed files with 5 additions and 6 deletions

View File

@ -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))
{