Skip to content

Fix panel crashes due to unknown types in UI descriptions

Chris Mayo requested to merge chrism/gnome-control-center:template into main

Fix panel crashes due to unknown types in UI descriptions

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 '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 'CcUserPanel' for an instance of type 'CcUserPanel': .:0:0 Invalid object type 'CcAvatarChooser'

Error building template class 'CcInfoOverviewPanel' for an instance of type 'CcInfoOverviewPanel': .:0:0 Invalid object type 'CcHostnameEntry'

and

datetime: Fix Time Format ComboRow

Failed to set property AdwEnumListModel.enum-type to GDesktopClockFormat: Unsupported GType 'GDesktopClockFormat' for value of type 'GType'

meson.build code adapted from background/meson.build.

Don't understand why these haven't been seen before as the fixes were clear cut. Apologies if it is Gentoo specific. I've written these against main but compiled and run with Gentoo gnome-base/gnome-control-center-44.0.

GTK 4.10.1
Libadwaita 1.3.1
gsettings-desktop-schemas 44.0

Merge request reports