2008-07-05 Emmanuele Bassi <ebassi@openedhand.com>

Bug 1033 - Manually parsing command line options prevents
	           initializing clutter (Armin Burgmeier)

	* clutter/clutter-main.c:
	(post_parse_hook), (clutter_init_real): Set the is_initialized
	flag inside the real initialization function.
This commit is contained in:
Emmanuele Bassi 2008-07-05 12:39:37 +00:00
parent 4d51f3e7ea
commit 8e4ed73af8
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,12 @@
2008-07-05 Emmanuele Bassi <ebassi@openedhand.com>
Bug 1033 - Manually parsing command line options prevents
initializing clutter (Armin Burgmeier)
* clutter/clutter-main.c:
(post_parse_hook), (clutter_init_real): Set the is_initialized
flag inside the real initialization function.
2008-07-04 Emmanuele Bassi <ebassi@openedhand.com> 2008-07-04 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-label.c: Properly document the behaviour * clutter/clutter-label.c: Properly document the behaviour

View File

@ -1126,8 +1126,6 @@ post_parse_hook (GOptionContext *context,
else else
retval = TRUE; retval = TRUE;
clutter_is_initialized = retval;
return retval; return retval;
} }
@ -1240,6 +1238,8 @@ clutter_init_real (GError **error)
clutter_stage_set_title (CLUTTER_STAGE (stage), g_get_prgname ()); clutter_stage_set_title (CLUTTER_STAGE (stage), g_get_prgname ());
clutter_is_initialized = TRUE;
return CLUTTER_INIT_SUCCESS; return CLUTTER_INIT_SUCCESS;
} }