Call error_func on error, not post_parse_func again. (#153107, Robert

Sun Sep 19 23:56:15 2004  Matthias Clasen  <maclas@gmx.de>

	* glib/goption.c (g_option_context_parse): Call error_func
	on error, not post_parse_func again.  (#153107, Robert Ögren)
This commit is contained in:
Matthias Clasen 2004-09-20 03:58:04 +00:00 committed by Matthias Clasen
parent b61e269d0d
commit 2022eaf0ab
6 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sun Sep 19 23:56:15 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c (g_option_context_parse): Call error_func
on error, not post_parse_func again. (#153107, Robert Ögren)
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.c (mklevel_prefix):

View File

@ -1,3 +1,8 @@
Sun Sep 19 23:56:15 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c (g_option_context_parse): Call error_func
on error, not post_parse_func again. (#153107, Robert Ögren)
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.c (mklevel_prefix):

View File

@ -1,3 +1,8 @@
Sun Sep 19 23:56:15 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c (g_option_context_parse): Call error_func
on error, not post_parse_func again. (#153107, Robert Ögren)
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.c (mklevel_prefix):

View File

@ -1,3 +1,8 @@
Sun Sep 19 23:56:15 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c (g_option_context_parse): Call error_func
on error, not post_parse_func again. (#153107, Robert Ögren)
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.c (mklevel_prefix):

View File

@ -1,3 +1,8 @@
Sun Sep 19 23:56:15 2004 Matthias Clasen <maclas@gmx.de>
* glib/goption.c (g_option_context_parse): Call error_func
on error, not post_parse_func again. (#153107, Robert Ögren)
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.c (mklevel_prefix):

View File

@ -1083,8 +1083,8 @@ g_option_context_parse (GOptionContext *context,
GOptionGroup *group = list->data;
if (group->error_func)
(* group->post_parse_func) (context, group,
group->user_data, error);
(* group->error_func) (context, group,
group->user_data, error);
list = list->next;
}