diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-28 20:57:38 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-11-09 16:04:35 +0800 |
commit | 2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce (patch) | |
tree | 37286a806719a64d489af5e3b33b36874a9ff52e /src | |
parent | a42effc9db9ad032587ded4d095bc8339b77a2ae (diff) | |
download | gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.tar gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.tar.gz gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.tar.bz2 gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.tar.lz gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.tar.xz gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.tar.zst gsoc2013-empathy-2d91d86e1638f3c9a9be8be63ff974a8fc28d9ce.zip |
add empathy_event_remove()
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-event-manager.c | 10 | ||||
-rw-r--r-- | src/empathy-event-manager.h | 1 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 882b28673..1145d1b65 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -150,8 +150,6 @@ event_manager_approval_free (EventManagerApproval *approval) g_slice_free (EventManagerApproval, approval); } -static void event_remove (EventPriv *event); - static void event_free (EventPriv *event) { @@ -182,6 +180,14 @@ event_remove (EventPriv *event) event_free (event); } +void +empathy_event_remove (EmpathyEvent *event_public) +{ + EventPriv *event = (EventPriv *) event_public; + + event_remove (event); +} + static gboolean autoremove_event_timeout_cb (EventPriv *event) { diff --git a/src/empathy-event-manager.h b/src/empathy-event-manager.h index 39aa0c979..cc81d2ddb 100644 --- a/src/empathy-event-manager.h +++ b/src/empathy-event-manager.h @@ -74,6 +74,7 @@ void empathy_event_activate (EmpathyEvent *e void empathy_event_inhibit_updates (EmpathyEvent *event); void empathy_event_approve (EmpathyEvent *event); void empathy_event_decline (EmpathyEvent *event); +void empathy_event_remove (EmpathyEvent *event); G_END_DECLS |