From fa08a8879c77e99f706ee805df0e2821f202e9de Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 18 Nov 2009 13:53:25 +0000 Subject: don't mix code and variable declarations --- libempathy-gtk/empathy-chat.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libempathy-gtk/empathy-chat.c') 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; -- cgit v1.2.3