aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-15 20:13:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-15 21:16:36 +0800
commit6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04 (patch)
tree839a4d68cad08f6e00925b796037d8d091f2bf86 /calendar
parent5e2efa2cd4ac7891fdf316dafd9ab249086e842a (diff)
downloadgsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.tar.gz
gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.tar.zst
gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.zip
Fix compiler warnings.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/event-page.c6
-rw-r--r--calendar/gui/dialogs/memo-page.c4
-rw-r--r--calendar/gui/dialogs/task-page.c8
3 files changed, 9 insertions, 9 deletions
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");