diff options
-rw-r--r-- | src/empathy-event-manager.c | 10 | ||||
-rw-r--r-- | src/empathy-event-manager.h | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 31f9f66d9..3f533831d 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -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); +} diff --git a/src/empathy-event-manager.h b/src/empathy-event-manager.h index e48363aa6..126f67762 100644 --- a/src/empathy-event-manager.h +++ b/src/empathy-event-manager.h @@ -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 |