diff options
author | Chris Mayo <aklhfex@gmail.com> | 2023-03-27 19:22:34 +0100 |
---|---|---|
committer | Felipe Borges <felipeborges@gnome.org> | 2023-04-17 12:14:58 +0000 |
commit | 92c4b6a706b32c2c5eb89b4169a7e21537a59c3c (patch) | |
tree | 994062cea9935184dae92d2fa6a960c91a2e5f35 /panels/region | |
parent | 9b940c27ca43602d6a389753d5d51daef18eecd0 (diff) | |
download | gnome-control-center-92c4b6a706b32c2c5eb89b4169a7e21537a59c3c.tar.gz |
Fix panel crashes due to unknown types in UI descriptions
Error building template class 'CcSearchPanel' for an instance of type 'CcSearchPanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcDisplayPanel' for an instance of type 'CcDisplayPanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcMousePanel' for an instance of type 'CcMousePanel': .:0:0 Invalid object type 'CcIllustratedRow'
Error building template class 'CcKeyboardPanel' for an instance of type 'CcKeyboardPanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcRegionPanel' for an instance of type 'CcRegionPanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcUaPanel' for an instance of type 'CcUaPanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcUserPanel' for an instance of type 'CcUserPanel': .:0:0 Invalid object type 'CcAvatarChooser'
Error building template class 'CcUserPanel' for an instance of type 'CcUserPanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcDateTimePanel' for an instance of type 'CcDateTimePanel': .:0:0 Invalid object type 'CcTzDialog'
cc_tz_dialog_get_selected_location: assertion 'CC_IS_TZ_DIALOG (self)' failed
dumped core
Error building template class 'CcDateTimePanel' for an instance of type 'CcDateTimePanel': .:0:0 Invalid object type 'CcListRow'
Error building template class 'CcInfoOverviewPanel' for an instance of type 'CcInfoOverviewPanel': .:0:0 Invalid object type 'CcHostnameEntry'
Diffstat (limited to 'panels/region')
-rw-r--r-- | panels/region/cc-region-panel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/panels/region/cc-region-panel.c b/panels/region/cc-region-panel.c index 0ed1c5048..09f7726c1 100644 --- a/panels/region/cc-region-panel.c +++ b/panels/region/cc-region-panel.c @@ -835,6 +835,8 @@ cc_region_panel_class_init (CcRegionPanelClass * klass) object_class->finalize = cc_region_panel_finalize; + g_type_ensure (CC_TYPE_LIST_ROW); + gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/region/cc-region-panel.ui"); gtk_widget_class_bind_template_child (widget_class, CcRegionPanel, formats_row); |