diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 5 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 615ebf15d0..fd42d93a81 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -3144,6 +3144,11 @@ event_page_construct (EventPage *epage, EMeetingStore *model) g_object_ref (model); priv->model = model; + /* Make sure our custom widget classes are registered with + * GType before we load the GtkBuilder definition file. */ + E_TYPE_DATE_EDIT; + E_TYPE_TIMEZONE_ENTRY; + priv->builder = gtk_builder_new (); e_load_ui_builder_definition (priv->builder, "event-page.ui"); diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 9bb57de918..b0f175140e 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -2045,6 +2045,11 @@ task_page_construct (TaskPage *tpage, EMeetingStore *model, ECal *client) priv->model = model; priv->client = client; + /* Make sure our custom widget classes are registered with + * GType before we load the GtkBuilder definition file. */ + E_TYPE_DATE_EDIT; + E_TYPE_TIMEZONE_ENTRY; + priv->builder = gtk_builder_new (); e_load_ui_builder_definition (priv->builder, "task-page.ui"); |