mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
2007-06-19 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-main.c: (clutter_init_with_args), (clutter_init): Safer checks for setting progname if NULL is passed in init.
This commit is contained in:
parent
6a148d571e
commit
d30396cf0c
@ -1,3 +1,8 @@
|
||||
2007-06-19 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* clutter/clutter-main.c: (clutter_init_with_args), (clutter_init):
|
||||
Safer checks for setting progname if NULL is passed in init.
|
||||
|
||||
2007-06-19 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* autogen.sh: autoreconf needs a README.
|
||||
|
@ -598,8 +598,8 @@ clutter_init_with_args (int *argc,
|
||||
if (clutter_is_initialized)
|
||||
return CLUTTER_INIT_SUCCESS;
|
||||
|
||||
if (*argc > 0)
|
||||
g_set_prgname (*argv[0]);
|
||||
if (argc && *argc > 0 && *argv)
|
||||
g_set_prgname ((*argv)[0]);
|
||||
|
||||
clutter_base_init ();
|
||||
|
||||
@ -694,8 +694,8 @@ clutter_init (int *argc,
|
||||
if (clutter_is_initialized)
|
||||
return CLUTTER_INIT_SUCCESS;
|
||||
|
||||
if (*argc > 0)
|
||||
g_set_prgname (*argv[0]);
|
||||
if (argc && *argc > 0 && *argv)
|
||||
g_set_prgname ((*argv)[0]);
|
||||
|
||||
clutter_base_init ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user