Prevent crash clicking on the "New Event" button

This commit is contained in:
Bastien Nocera
2012-12-06 09:19:42 +01:00
parent a7ec3e5320
commit 604e4ce438
+2
View File
@@ -180,5 +180,7 @@ gcal_view_create_event_on_current_unit (GcalView *view)
{
g_return_if_fail (GCAL_IS_VIEW (view));
g_return_if_fail (GCAL_VIEW_GET_INTERFACE (view)->create_event_on_current_unit);
GCAL_VIEW_GET_INTERFACE (view)->create_event_on_current_unit (view);
}