[gnome-initial-setup/ensure-GisLocationEntry] timezone: Load GisLocationEntry type before page template
- From: Will Thompson <wjt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup/ensure-GisLocationEntry] timezone: Load GisLocationEntry type before page template
- Date: Wed, 2 Feb 2022 22:25:45 +0000 (UTC)
commit f6ddc26e72aba2689d84e075c9b5fbc6daa8d8d5
Author: Will Thompson <wjt endlessos org>
Date: Wed Feb 2 22:11:18 2022 +0000
timezone: Load GisLocationEntry type before page template
Without this, constructing the timezone page fails and everything goes
south.
> (gnome-initial-setup:2071): Gtk-CRITICAL **: 18:06:35.097: Error
> building template class 'GisTimezonePage' for an instance of type
> 'GisTimezonePage': .:3:1233 Invalid object type 'GisLocationEntry'
Fixes: a7dfea2 "timezone: Reintroduce GisLocationEntry"
gnome-initial-setup/pages/timezone/gis-timezone-page.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gnome-initial-setup/pages/timezone/gis-timezone-page.c
b/gnome-initial-setup/pages/timezone/gis-timezone-page.c
index c4a5b5de..5db54133 100644
--- a/gnome-initial-setup/pages/timezone/gis-timezone-page.c
+++ b/gnome-initial-setup/pages/timezone/gis-timezone-page.c
@@ -522,6 +522,7 @@ gis_timezone_page_init (GisTimezonePage *page)
g_type_ensure (CC_TYPE_TIMEZONE_MAP);
g_type_ensure (GIS_TYPE_BUBBLE_WIDGET);
g_type_ensure (GIS_TYPE_PAGE_HEADER);
+ g_type_ensure (GIS_TYPE_LOCATION_ENTRY);
gtk_widget_init_template (GTK_WIDGET (page));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]