mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 15:46:17 +01:00
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:
parent
b61e269d0d
commit
2022eaf0ab
@ -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>
|
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gmessages.c (mklevel_prefix):
|
* glib/gmessages.c (mklevel_prefix):
|
||||||
|
@ -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>
|
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gmessages.c (mklevel_prefix):
|
* glib/gmessages.c (mklevel_prefix):
|
||||||
|
@ -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>
|
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gmessages.c (mklevel_prefix):
|
* glib/gmessages.c (mklevel_prefix):
|
||||||
|
@ -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>
|
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gmessages.c (mklevel_prefix):
|
* glib/gmessages.c (mklevel_prefix):
|
||||||
|
@ -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>
|
Sun Sep 19 23:52:35 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gmessages.c (mklevel_prefix):
|
* glib/gmessages.c (mklevel_prefix):
|
||||||
|
@ -1083,8 +1083,8 @@ g_option_context_parse (GOptionContext *context,
|
|||||||
GOptionGroup *group = list->data;
|
GOptionGroup *group = list->data;
|
||||||
|
|
||||||
if (group->error_func)
|
if (group->error_func)
|
||||||
(* group->post_parse_func) (context, group,
|
(* group->error_func) (context, group,
|
||||||
group->user_data, error);
|
group->user_data, error);
|
||||||
|
|
||||||
list = list->next;
|
list = list->next;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user