Commit cf452c7d authored by Guillaume Desmottes's avatar Guillaume Desmottes

add empathy_event_decline

parent 8963051c
......@@ -1229,3 +1229,13 @@ empathy_event_approve (EmpathyEvent *event_public)
event_manager_approval_approve (event->approval);
}
void
empathy_event_decline (EmpathyEvent *event_public)
{
EventPriv *event = (EventPriv *) event_public;
g_return_if_fail (event_public != NULL);
reject_approval (event->approval);
}
......@@ -72,6 +72,7 @@ GSList * empathy_event_manager_get_events (EmpathyEventManager *m
void empathy_event_activate (EmpathyEvent *event);
void empathy_event_inhibit_updates (EmpathyEvent *event);
void empathy_event_approve (EmpathyEvent *event);
void empathy_event_decline (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