Fix an oversight

This commit is contained in:
Matthias Clasen 2005-12-11 04:25:52 +00:00
parent 9e40d57cbe
commit c7778a8600
3 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-12-10 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.c (gdk_parse_args): Warn if parsing fails,
not if it succeeds.
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_get_uris): Don't

View File

@ -1,3 +1,8 @@
2005-12-10 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.c (gdk_parse_args): Warn if parsing fails,
not if it succeeds.
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (gtk_selection_data_get_uris): Don't

View File

@ -217,7 +217,7 @@ gdk_parse_args (int *argc,
g_option_group_add_entries (option_group, gdk_args);
g_option_group_add_entries (option_group, _gdk_windowing_args);
if (g_option_context_parse (option_context, argc, argv, &error))
if (!g_option_context_parse (option_context, argc, argv, &error))
{
g_warning ("%s", error->message);
g_error_free (error);