Commit 2d91d86e authored by Guillaume Desmottes's avatar Guillaume Desmottes

add empathy_event_remove()

parent a42effc9
......@@ -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)
{
......
......@@ -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
......
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