aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-call-handler.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/empathy-call-handler.c b/src/empathy-call-handler.c
index f509e5213..cf9c1b03e 100644
--- a/src/empathy-call-handler.c
+++ b/src/empathy-call-handler.c
@@ -884,6 +884,21 @@ empathy_call_handler_start_tpfs (EmpathyCallHandler *self)
on_tf_channel_ready, self);
}
+static void
+on_call_accepted_cb (GObject *source_object,
+ GAsyncResult *res,
+ gpointer user_data)
+{
+ TpyCallChannel *call = TPY_CALL_CHANNEL (source_object);
+ GError *error = NULL;
+
+ if (!tpy_call_channel_accept_finish (call, res, &error))
+ {
+ g_warning ("could not accept Call: %s", error->message);
+ g_error_free (error);
+ }
+}
+
#if 0
static void
empathy_call_handler_request_cb (GObject *source,
@@ -919,21 +934,6 @@ empathy_call_handler_request_cb (GObject *source,
}
#endif
-static void
-on_call_accepted_cb (GObject *source_object,
- GAsyncResult *res,
- gpointer user_data)
-{
- TpyCallChannel *call = TPY_CALL_CHANNEL (source_object);
- GError *error = NULL;
-
- if (!tpy_call_channel_accept_finish (call, res, &error))
- {
- g_warning ("could not accept Call: %s", error->message);
- g_error_free (error);
- }
-}
-
void
empathy_call_handler_start_call (EmpathyCallHandler *handler,
gint64 timestamp)