aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-calendar-preferences.c
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 /modules/calendar/e-calendar-preferences.c
parent5e2efa2cd4ac7891fdf316dafd9ab249086e842a (diff)
downloadgsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.tar.gz
gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.tar.zst
gsoc2013-evolution-6fecc5899ecbfb700b2dd7fc866fa037c3fcfe04.zip
Fix compiler warnings.
Diffstat (limited to 'modules/calendar/e-calendar-preferences.c')
-rw-r--r--modules/calendar/e-calendar-preferences.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-calendar-preferences.c b/modules/calendar/e-calendar-preferences.c
index 2902a50a58..93669b2aa7 100644
--- a/modules/calendar/e-calendar-preferences.c
+++ b/modules/calendar/e-calendar-preferences.c
@@ -488,8 +488,8 @@ calendar_preferences_construct (ECalendarPreferences *prefs,
/* 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;
+ g_type_ensure (E_TYPE_DATE_EDIT);
+ g_type_ensure (E_TYPE_TIMEZONE_ENTRY);
prefs->builder = gtk_builder_new ();
e_load_ui_builder_definition (prefs->builder, "e-calendar-preferences.ui");