]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-call.c
Remove some dead code
[empathy.git] / libempathy / empathy-tp-call.c
index 576023e807b1a0679067eee327072469a3df92af..386ac80f39f267aed88cc1f722f886730a1ff644 100644 (file)
@@ -361,23 +361,6 @@ tp_call_async_cb (TpProxy *proxy,
       DEBUG ("Error %s: %s", (gchar*) user_data, error->message);
 }
 
-static void
-tp_call_close_channel (EmpathyTpCall *call)
-{
-  EmpathyTpCallPriv *priv = GET_PRIV (call);
-
-  if (priv->status == EMPATHY_TP_CALL_STATUS_CLOSED)
-      return;
-
-  DEBUG ("Closing channel");
-
-  tp_cli_channel_call_close (priv->channel, -1,
-      NULL, NULL, NULL, NULL);
-
-  priv->status = EMPATHY_TP_CALL_STATUS_CLOSED;
-  g_object_notify (G_OBJECT (call), "status");
-}
-
 static GObject *
 tp_call_constructor (GType type,
                      guint n_construct_params,