diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-18 21:53:25 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-19 03:09:34 +0800 |
commit | fa08a8879c77e99f706ee805df0e2821f202e9de (patch) | |
tree | 75526241ec164d580278d6a90d1d066d0cd725a3 /libempathy-gtk/empathy-chat.c | |
parent | ea9f4b06393425e7496a3494e084520da3de7618 (diff) | |
download | gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.tar gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.tar.gz gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.tar.bz2 gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.tar.lz gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.tar.xz gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.tar.zst gsoc2013-empathy-fa08a8879c77e99f706ee805df0e2821f202e9de.zip |
don't mix code and variable declarations
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index cc946b1e1..372e90cf0 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1791,12 +1791,12 @@ chat_members_changed_cb (EmpathyTpChat *tp_chat, gboolean is_member, EmpathyChat *chat) { - g_return_if_fail (TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED != reason); - EmpathyChatPriv *priv = GET_PRIV (chat); const gchar *name = empathy_contact_get_name (contact); gchar *str; + g_return_if_fail (TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED != reason); + if (priv->block_events_timeout_id != 0) return; @@ -1819,10 +1819,10 @@ chat_member_renamed_cb (EmpathyTpChat *tp_chat, gchar *message, EmpathyChat *chat) { - g_return_if_fail (TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED == reason); - EmpathyChatPriv *priv = GET_PRIV (chat); + g_return_if_fail (TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED == reason); + if (priv->block_events_timeout_id == 0) { gchar *str; |