empathy r977 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r977 - trunk/libempathy
- Date: Sat, 19 Apr 2008 22:04:12 +0100 (BST)
Author: xclaesse
Date: Sat Apr 19 21:04:12 2008
New Revision: 977
URL: http://svn.gnome.org/viewvc/empathy?rev=977&view=rev
Log:
Replace channel closed signal with invalidated signal
Modified:
trunk/libempathy/empathy-tubes.c
Modified: trunk/libempathy/empathy-tubes.c
==============================================================================
--- trunk/libempathy/empathy-tubes.c (original)
+++ trunk/libempathy/empathy-tubes.c Sat Apr 19 21:04:12 2008
@@ -126,16 +126,19 @@
static void
-empathy_tubes_channel_closed_cb (TpChannel *channel,
- gpointer data)
+empathy_tubes_channel_invalidated_cb (TpChannel *channel,
+ guint domain,
+ gint code,
+ gchar *message,
+ gpointer data)
{
EmpathyTubes *tubes = EMPATHY_TUBES (data);
EmpathyTubesPriv *priv = GET_PRIV (tubes);
- empathy_debug (DEBUG_DOMAIN, "Channel closed");
+ empathy_debug (DEBUG_DOMAIN, "Channel invalidated");
g_signal_handlers_disconnect_by_func (priv->channel,
- empathy_tubes_channel_closed_cb, tubes);
+ empathy_tubes_channel_invalidated_cb, tubes);
// disconnect tubes interface signals?
}
@@ -152,7 +155,7 @@
if (priv->channel)
{
g_signal_handlers_disconnect_by_func (priv->channel,
- empathy_tubes_channel_closed_cb, object);
+ empathy_tubes_channel_invalidated_cb, object);
g_object_unref (priv->channel);
priv->channel = NULL;
}
@@ -213,8 +216,8 @@
EmpathyTubes *tubes = EMPATHY_TUBES (object);
EmpathyTubesPriv *priv = GET_PRIV (tubes);
- g_signal_connect (priv->channel, "closed",
- G_CALLBACK (empathy_tubes_channel_closed_cb), tubes);
+ g_signal_connect (priv->channel, "invalidated",
+ G_CALLBACK (empathy_tubes_channel_invalidated_cb), tubes);
tp_cli_channel_type_tubes_connect_to_new_tube (priv->channel,
empathy_tubes_new_tube_cb, NULL, NULL, G_OBJECT (tubes), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]