Commit 8e794ecc authored by Guillaume Desmottes's avatar Guillaume Desmottes

add empathy_event_approve()

parent 3103575b
......@@ -1219,3 +1219,13 @@ empathy_event_inhibit_updates (EmpathyEvent *event_public)
event->inhibit = TRUE;
}
void
empathy_event_approve (EmpathyEvent *event_public)
{
EventPriv *event = (EventPriv *) event_public;
g_return_if_fail (event_public != NULL);
event_manager_approval_approve (event->approval);
}
......@@ -71,6 +71,7 @@ EmpathyEvent * empathy_event_manager_get_top_event (EmpathyEventManager *m
GSList * empathy_event_manager_get_events (EmpathyEventManager *manager);
void empathy_event_activate (EmpathyEvent *event);
void empathy_event_inhibit_updates (EmpathyEvent *event);
void empathy_event_approve (EmpathyEvent *event);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment