aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-23 03:25:27 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-23 03:25:27 +0800
commitdd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d (patch)
tree106a2a07adc1faeafd96173c241127fe7be8b799
parent7730520af8c2feaf052aafd30e34f1eb624eaa03 (diff)
downloadgsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.tar
gsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.tar.gz
gsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.tar.bz2
gsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.tar.lz
gsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.tar.xz
gsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.tar.zst
gsoc2013-empathy-dd50ff8ac2a37349e9d6a8c9fe8c4d0e34b00e6d.zip
Fix some coding style
svn path=/trunk/; revision=820
-rw-r--r--libempathy/empathy-tp-call.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 3842d2436..fa705cead 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -244,13 +244,13 @@ tp_call_channel_closed_cb (TpChan *channel,
TELEPATHY_CHAN_IFACE_GROUP_QUARK);
dbus_g_proxy_disconnect_signal (DBUS_G_PROXY (priv->channel), "Closed",
- G_CALLBACK (tp_call_channel_closed_cb), (gpointer) call);
+ G_CALLBACK (tp_call_channel_closed_cb), call);
dbus_g_proxy_disconnect_signal (streamed_iface, "StreamStateChanged",
- G_CALLBACK (tp_call_stream_state_changed_cb), (gpointer) call);
+ G_CALLBACK (tp_call_stream_state_changed_cb), call);
dbus_g_proxy_disconnect_signal (streamed_iface, "StreamAdded",
- G_CALLBACK (tp_call_stream_added_cb), (gpointer) call);
+ G_CALLBACK (tp_call_stream_added_cb), call);
dbus_g_proxy_disconnect_signal (streamed_iface, "StreamRemoved",
- G_CALLBACK (tp_call_stream_removed_cb), (gpointer) call);
+ G_CALLBACK (tp_call_stream_removed_cb), call);
}
static void
@@ -530,7 +530,7 @@ tp_call_watch_name_owner_cb (TpDBusDaemon *daemon,
empathy_debug (DEBUG_DOMAIN, "Stream engine falled off the bus");
empathy_tp_call_close_channel (call);
}
- priv->stream_engine_started = ! G_STR_EMPTY (new_owner);
+ priv->stream_engine_started = !G_STR_EMPTY (new_owner);
}
static void
@@ -590,20 +590,20 @@ tp_call_constructor (GType type,
priv = GET_PRIV (call);
dbus_g_proxy_connect_signal (DBUS_G_PROXY (priv->channel), "Closed",
- G_CALLBACK (tp_call_channel_closed_cb), (gpointer) call, NULL);
+ G_CALLBACK (tp_call_channel_closed_cb), call, NULL);
streamed_iface = tp_chan_get_interface (priv->channel,
TELEPATHY_CHAN_IFACE_STREAMED_QUARK);
dbus_g_proxy_connect_signal (streamed_iface, "StreamStateChanged",
G_CALLBACK (tp_call_stream_state_changed_cb),
- (gpointer) call, NULL);
+ call, NULL);
dbus_g_proxy_connect_signal (streamed_iface, "StreamDirectionChanged",
G_CALLBACK (tp_call_stream_direction_changed_cb),
- (gpointer) call, NULL);
+ call, NULL);
dbus_g_proxy_connect_signal (streamed_iface, "StreamAdded",
- G_CALLBACK (tp_call_stream_added_cb), (gpointer) call, NULL);
+ G_CALLBACK (tp_call_stream_added_cb), call, NULL);
dbus_g_proxy_connect_signal (streamed_iface, "StreamRemoved",
- G_CALLBACK (tp_call_stream_removed_cb), (gpointer) call, NULL);
+ G_CALLBACK (tp_call_stream_removed_cb), call, NULL);
mc = empathy_mission_control_new ();
account = mission_control_get_account_for_connection (mc, priv->connection,
@@ -612,11 +612,11 @@ tp_call_constructor (GType type,
g_object_unref (mc);
g_signal_connect (G_OBJECT (priv->group), "member-added",
- G_CALLBACK (tp_call_member_added_cb), (gpointer) call);
+ G_CALLBACK (tp_call_member_added_cb), call);
g_signal_connect (G_OBJECT (priv->group), "local-pending",
- G_CALLBACK (tp_call_local_pending_cb), (gpointer) call);
+ G_CALLBACK (tp_call_local_pending_cb), call);
g_signal_connect (G_OBJECT (priv->group), "remote-pending",
- G_CALLBACK (tp_call_remote_pending_cb), (gpointer) call);
+ G_CALLBACK (tp_call_remote_pending_cb), call);
tp_call_start_stream_engine (call);
/* FIXME: unnecessary for outgoing? */
@@ -889,7 +889,7 @@ empathy_tp_call_close_channel (EmpathyTpCall *call)
g_clear_error (&error);
}
else
- priv->status = EMPATHY_TP_CALL_STATUS_CLOSED;
+ priv->status = EMPATHY_TP_CALL_STATUS_CLOSED;
}
void