aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 7407ee355..8a0502b26 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1299,8 +1299,8 @@ chat_window_show_or_update_notification (EmpathyChatWindow *window,
notify_notification_set_timeout (notification, NOTIFY_EXPIRES_DEFAULT);
- g_signal_connect (notification, "closed",
- G_CALLBACK (chat_window_notification_closed_cb), window);
+ tp_g_signal_connect_object (notification, "closed",
+ G_CALLBACK (chat_window_notification_closed_cb), window, 0);
if (has_x_canonical_append) {
notify_notification_set_hint_string (notification,