aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-05-16 23:42:17 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 17:20:08 +0800
commit039a108f7cc13f6fd587cf505cd43552e1a2a392 (patch)
tree0e82e43f3018445e8cc9c3f0fe3011517477e9d6
parent11f851031af49234479be818c939c8d5edc2420b (diff)
downloadgsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.tar
gsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.tar.gz
gsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.tar.bz2
gsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.tar.lz
gsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.tar.xz
gsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.tar.zst
gsoc2013-empathy-039a108f7cc13f6fd587cf505cd43552e1a2a392.zip
CallHandler: move on_call_accepted_cb() around
-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)