Commit 859c8ae3 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 40a9621d
2005-09-26 Sven Neumann <sven@gimp.org>
* tools/test-clipboard.c: use G_OPTION_FLAG_NO_ARG where needed.
2005-09-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/paste-as-brush.scm
......@@ -54,8 +58,8 @@
* INSTALL
* configure.in: bumped the required version of glib to 2.8.
* app/main.c: use G_OPTION_ARG_NONE flag with callback options
that take no argument. Fixes command-line options needed for 'make
* app/main.c: use G_OPTION_FLAG_NO_ARG with callback options that
take no argument. Fixes command-line options needed for 'make
dist', such as '--dump-gimprc'
2005-09-26 Michael Natterer <mitch@gimp.org>
......
......@@ -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
},
......
......@@ -66,8 +66,7 @@ static const GOptionEntry main_entries[] =
{
"selection-type", 's', 0,
G_OPTION_ARG_CALLBACK, test_clipboard_parse_selection,
"Selection type (primary|secondary|clipboard)",
"<type>"
"Selection type (primary|secondary|clipboard)", "<type>"
},
{
"list-targets", 'l', 0,
......@@ -95,7 +94,7 @@ static const GOptionEntry main_entries[] =
"Paste clipoard into <file>", "<file>"
},
{
"version", 'v', 0,
"version", 'v', G_OPTION_FLAG_NO_ARG,
G_OPTION_ARG_CALLBACK, test_clipboard_show_version,
"Show version information and exit", NULL
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment