aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-22 21:34:38 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-04-09 19:06:30 +0800
commit897411fdb8e01d8f6a675aa9a8c814119b3cd21d (patch)
tree781e6a9a11d0907804d04819e145daf10a9e1ae9
parentb9e87dc7d7bf94ea2bd39dd675cf1806cf34bbe4 (diff)
downloadgsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.tar
gsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.tar.gz
gsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.tar.bz2
gsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.tar.lz
gsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.tar.xz
gsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.tar.zst
gsoc2013-empathy-897411fdb8e01d8f6a675aa9a8c814119b3cd21d.zip
src/empathy-chat-window.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
-rw-r--r--src/empathy-chat-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 539a8afd9..2934d35a8 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -394,10 +394,10 @@ chat_window_contact_menu_update (EmpathyChatWindowPriv *priv,
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu), submenu);
gtk_widget_show (menu);
} else {
- empathy_signal_connect_weak (orig_submenu,
+ tp_g_signal_connect_object (orig_submenu,
"notify::visible",
(GCallback)_submenu_notify_visible_changed_cb,
- G_OBJECT (window));
+ window, 0);
}
}