Commit 015fbf8f authored by Jeongsu Kim's avatar Jeongsu Kim Committed by Robert Ancell

applications: ensure private types used by the template

on some systems, private types of settings app are not resolved.

    Error building template class 'CcApplicationsPanel' for
    an instance of type 'CcApplicationsPanel': 
    Invalid object type 'CcToggleRow'

to fix this issue, ensure private types used by the template
parent f1d892f4
Pipeline #202360 passed with stages
in 5 minutes and 9 seconds
......@@ -2038,6 +2038,9 @@ cc_applications_panel_init (CcApplicationsPanel *self)
g_resources_register (cc_applications_get_resource ());
g_type_ensure(CC_TYPE_TOGGLE_ROW);
g_type_ensure(CC_TYPE_INFO_ROW);
gtk_widget_init_template (GTK_WIDGET (self));
provider = GTK_STYLE_PROVIDER (gtk_css_provider_new ());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment