From 6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 15 Dec 2012 07:13:57 -0500 Subject: Fix compiler warnings. --- calendar/gui/dialogs/event-page.c | 6 +++--- calendar/gui/dialogs/memo-page.c | 4 ++-- calendar/gui/dialogs/task-page.c | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'calendar') diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 793e98e49e..c12b7c7360 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -3602,9 +3602,9 @@ event_page_construct (EventPage *epage, /* 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; - E_TYPE_SPELL_ENTRY; + g_type_ensure (E_TYPE_DATE_EDIT); + g_type_ensure (E_TYPE_TIMEZONE_ENTRY); + g_type_ensure (E_TYPE_SPELL_ENTRY); priv->builder = gtk_builder_new (); e_load_ui_builder_definition (priv->builder, "event-page.ui"); diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index 79b659a898..d6f9d93ffc 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -1240,8 +1240,8 @@ memo_page_construct (MemoPage *mpage) /* Make sure our custom widget classes are registered with * GType before we load the GtkBuilder definition file. */ - E_TYPE_DATE_EDIT; - E_TYPE_SPELL_ENTRY; + g_type_ensure (E_TYPE_DATE_EDIT); + g_type_ensure (E_TYPE_SPELL_ENTRY); priv->builder = gtk_builder_new (); e_load_ui_builder_definition (priv->builder, "memo-page.ui"); diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index d8d64f32d6..b8324331c8 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -2156,10 +2156,10 @@ task_page_construct (TaskPage *tpage, /* 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; - E_TYPE_SOURCE_COMBO_BOX; - E_TYPE_SPELL_ENTRY; + g_type_ensure (E_TYPE_DATE_EDIT); + g_type_ensure (E_TYPE_TIMEZONE_ENTRY); + g_type_ensure (E_TYPE_SOURCE_COMBO_BOX); + g_type_ensure (E_TYPE_SPELL_ENTRY); priv->builder = gtk_builder_new (); e_load_ui_builder_definition (priv->builder, "task-page.ui"); -- cgit v1.2.3