stage: Move default title in Stage.init
The default title should be set from within clutter_stage_init(); at that point clutter_init() must have been called.
This commit is contained in:
parent
38f26634ee
commit
a8daaa8222
@ -1568,8 +1568,6 @@ clutter_init_real (GError **error)
|
||||
return CLUTTER_INIT_ERROR_INTERNAL;
|
||||
}
|
||||
|
||||
clutter_stage_set_title (CLUTTER_STAGE (stage), g_get_prgname ());
|
||||
|
||||
clutter_actor_realize (stage);
|
||||
if (!CLUTTER_ACTOR_IS_REALIZED (stage))
|
||||
{
|
||||
|
@ -1190,6 +1190,7 @@ clutter_stage_init (ClutterStage *self)
|
||||
priv->fog.z_far = 2.0;
|
||||
|
||||
clutter_actor_set_reactive (CLUTTER_ACTOR (self), TRUE);
|
||||
clutter_stage_set_title (self, g_get_prgname ());
|
||||
clutter_stage_set_key_focus (self, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user