aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
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:29 +0800
commit999e2a590caa9b013621902ea000a3e16be54b32 (patch)
treecf4bfab25c5e8f0b3307cde739c966e67b857d34 /libempathy-gtk/empathy-chat.c
parent300328f66a6556ba8b1e54bc679efa77d1defce6 (diff)
downloadgsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.tar
gsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.tar.gz
gsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.tar.bz2
gsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.tar.lz
gsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.tar.xz
gsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.tar.zst
gsoc2013-empathy-999e2a590caa9b013621902ea000a3e16be54b32.zip
libempathy-gtk/empathy-chat.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
Diffstat (limited to 'libempathy-gtk/empathy-chat.c')
-rw-r--r--libempathy-gtk/empathy-chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 4e84e6af9..93e801cd1 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -2353,9 +2353,9 @@ chat_create_ui (EmpathyChat *chat)
G_CALLBACK (chat_input_populate_popup_cb),
chat);
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (chat->input_text_view));
- empathy_signal_connect_weak (buffer, "changed",
+ tp_g_signal_connect_object (buffer, "changed",
G_CALLBACK (chat_input_text_buffer_changed_cb),
- G_OBJECT (chat));
+ chat, 0);
gtk_text_buffer_create_tag (buffer, "misspelled",
"underline", PANGO_UNDERLINE_ERROR,
NULL);
@@ -2651,9 +2651,9 @@ account_manager_prepared_cb (GObject *source_object,
for (l = accounts; l != NULL; l = l->next) {
TpAccount *account = l->data;
- empathy_signal_connect_weak (account, "status-changed",
+ tp_g_signal_connect_object (account, "status-changed",
G_CALLBACK (chat_new_connection_cb),
- G_OBJECT (chat));
+ chat, 0);
}
g_list_free (accounts);