aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-27 18:39:17 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-28 18:09:35 +0800
commit863beae29119b3a230511c6968b245ae747f4181 (patch)
tree35262b27e6f037a6c3da986ee8a8db5b777acd4c /src
parent61c27ce3a19ab2b74ca1e0ef9ca058c10457f98f (diff)
downloadgsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.tar
gsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.tar.gz
gsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.tar.bz2
gsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.tar.lz
gsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.tar.xz
gsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.tar.zst
gsoc2013-empathy-863beae29119b3a230511c6968b245ae747f4181.zip
No need to pass twice the same param to chat_window_contact_menu_update()
Diffstat (limited to 'src')
-rw-r--r--src/empathy-chat-window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 8dec7c08f..674be15f3 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -595,8 +595,7 @@ chat_window_conversation_menu_update (EmpathyChatWindow *self)
}
static void
-chat_window_contact_menu_update (EmpathyChatWindow *self,
- EmpathyChatWindow *window)
+chat_window_contact_menu_update (EmpathyChatWindow *self)
{
GtkWidget *menu, *submenu, *orig_submenu;
@@ -630,7 +629,7 @@ chat_window_contact_menu_update (EmpathyChatWindow *self,
{
tp_g_signal_connect_object (orig_submenu,
"notify::visible",
- (GCallback)_submenu_notify_visible_changed_cb, window, 0);
+ (GCallback)_submenu_notify_visible_changed_cb, self, 0);
}
self->priv->updating_menu = FALSE;
@@ -817,7 +816,7 @@ chat_window_update (EmpathyChatWindow *self,
menu watching. */
if (update_contact_menu)
{
- chat_window_contact_menu_update (self, self);
+ chat_window_contact_menu_update (self);
}
chat_window_title_update (self);