aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-06 20:04:42 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-07-07 16:03:37 +0800
commit8e794ecc865cd0cc031963fa8c271de1b2e68993 (patch)
tree3db718d940cff7337a112df15687a41c1c7fad52 /src
parent3103575b755da0765275fb3b774e2e8f8a88bd46 (diff)
downloadgsoc2013-empathy-8e794ecc865cd0cc031963fa8c271de1b2e68993.tar.gz
gsoc2013-empathy-8e794ecc865cd0cc031963fa8c271de1b2e68993.tar.zst
gsoc2013-empathy-8e794ecc865cd0cc031963fa8c271de1b2e68993.zip
add empathy_event_approve()
Diffstat (limited to 'src')
-rw-r--r--src/empathy-event-manager.c10
-rw-r--r--src/empathy-event-manager.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 6e4526189..31f9f66d9 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -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);
+}
diff --git a/src/empathy-event-manager.h b/src/empathy-event-manager.h
index 6952cf67d..e48363aa6 100644
--- a/src/empathy-event-manager.h
+++ b/src/empathy-event-manager.h
@@ -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