[empathy] libempathy-gtk/empathy-chat.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] libempathy-gtk/empathy-chat.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
- Date: Fri, 9 Apr 2010 11:43:51 +0000 (UTC)
commit 999e2a590caa9b013621902ea000a3e16be54b32
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Mar 22 14:34:38 2010 +0100
libempathy-gtk/empathy-chat.c: use tp_g_signal_connect_object instead of empathy_signal_connect_weak
libempathy-gtk/empathy-chat.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 4e84e6a..93e801c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]