event-widget: bring back alarm icon

This commit is contained in:
Georges Basile Stavracas Neto
2016-02-29 22:20:52 -03:00
parent ab902030e7
commit d84be66d70
3 changed files with 21 additions and 46 deletions
+16
View File
@@ -812,6 +812,22 @@ gcal_event_set_description (GcalEvent *self,
}
}
/**
* gcal_event_has_alarms:
* @self: a #GcalEvent
*
* Retrieves whether the event has alarms or not.
*
* Returns: %TRUE if @event has alarms, %FALSE otherwise.
*/
gboolean
gcal_event_has_alarms (GcalEvent *self)
{
g_return_val_if_fail (GCAL_IS_EVENT (self), FALSE);
return e_cal_component_has_alarms (self->component);
}
/**
* gcal_event_get_location:
* @self: a #GcalEvent