aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-06 20:20:47 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 16:03:37 +0800
commitcf452c7dd1d96a8d2f80b8cf8c64c03604a50c31 (patch)
tree070bd537a48cd9a49c0681d033e221edb32685b9 /src/empathy-event-manager.c
parent8963051c95e0c4511f264eff2e7bc1336e4b9735 (diff)
downloadgsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.tar
gsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.tar.gz
gsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.tar.bz2
gsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.tar.lz
gsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.tar.xz
gsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.tar.zst
gsoc2013-empathy-cf452c7dd1d96a8d2f80b8cf8c64c03604a50c31.zip
add empathy_event_decline
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c10
1 files changed, 10 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);
+}