Commit 1be8b226 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther

shell: Move type setup to class_init

Doing it on the class level is enough. The shell is a singleton
so this doesn't change anything in practice.
Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent 65debc57
......@@ -632,7 +632,6 @@ phosh_shell_constructed (GObject *object)
gtk_icon_theme_add_resource_path (gtk_icon_theme_get_default (),
css_setup (self);
type_setup ();
priv->lockscreen_manager = phosh_lockscreen_manager_new ();
g_object_bind_property (priv->lockscreen_manager, "locked",
......@@ -674,6 +673,8 @@ phosh_shell_class_init (PhoshShellClass *klass)
object_class->set_property = phosh_shell_set_property;
object_class->get_property = phosh_shell_get_property;
type_setup ();
g_param_spec_enum ("transform",
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment