tools/gimp-remote.c use G_OPTION_FLAG_NO_ARG where needed.

2005-09-26  Sven Neumann  <sven@gimp.org>

	* tools/gimp-remote.c
	* tools/test-clipboard.c: use G_OPTION_FLAG_NO_ARG where needed.
This commit is contained in:
Sven Neumann
2005-09-26 10:01:22 +00:00
committed by Sven Neumann
parent 40a9621dd2
commit 859c8ae3cb
3 changed files with 9 additions and 6 deletions

View File

@ -73,7 +73,7 @@ static const gchar **filenames = NULL;
static const GOptionEntry main_entries[] =
{
{ "version", 'v', 0,
{ "version", 'v', G_OPTION_FLAG_NO_ARG,
G_OPTION_ARG_CALLBACK, (GOptionArgFunc) show_version,
N_("Show version information and exit"), NULL
},