mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 04:36:17 +01:00
Call post-parse hooks also if argv is NULL. (#161668, Marcin Krzyzanowski)
2004-12-19 Matthias Clasen <mclasen@redhat.com> * glib/goption.c (g_option_context_parse): Call post-parse hooks also if argv is NULL. (#161668, Marcin Krzyzanowski)
This commit is contained in:
parent
251ae98a8b
commit
e176f212a7
@ -1,3 +1,9 @@
|
||||
2004-12-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/goption.c (g_option_context_parse): Call
|
||||
post-parse hooks also if argv is NULL. (#161668,
|
||||
Marcin Krzyzanowski)
|
||||
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/goption.c (g_option_context_parse): Call
|
||||
post-parse hooks also if argv is NULL. (#161668,
|
||||
Marcin Krzyzanowski)
|
||||
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/goption.c (g_option_context_parse): Call
|
||||
post-parse hooks also if argv is NULL. (#161668,
|
||||
Marcin Krzyzanowski)
|
||||
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/goption.c (g_option_context_parse): Call
|
||||
post-parse hooks also if argv is NULL. (#161668,
|
||||
Marcin Krzyzanowski)
|
||||
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-12-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/goption.c (g_option_context_parse): Call
|
||||
post-parse hooks also if argv is NULL. (#161668,
|
||||
Marcin Krzyzanowski)
|
||||
|
||||
2004-12-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1324,6 +1324,7 @@ g_option_context_parse (GOptionContext *context,
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Call post-parse hooks */
|
||||
list = context->groups;
|
||||
@ -1348,6 +1349,8 @@ g_option_context_parse (GOptionContext *context,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (argc && argv)
|
||||
{
|
||||
free_pending_nulls (context, TRUE);
|
||||
|
||||
for (i = 1; i < *argc; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user