Prevent crash clicking on the "New Event" button
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user