diff options
Diffstat (limited to 'calendar/gui/calendar-view-factory.c')
-rw-r--r-- | calendar/gui/calendar-view-factory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c index e0e223d8df..e4521e4436 100644 --- a/calendar/gui/calendar-view-factory.c +++ b/calendar/gui/calendar-view-factory.c @@ -246,6 +246,6 @@ calendar_view_factory_new (GnomeCalendarViewType view_type) { CalendarViewFactory *cal_view_factory; - cal_view_factory = gtk_type_new (TYPE_CALENDAR_VIEW_FACTORY); + cal_view_factory = g_object_new (TYPE_CALENDAR_VIEW_FACTORY, NULL); return calendar_view_factory_construct (cal_view_factory, view_type); } |