diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:47 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:47 +0800 |
commit | b8607414ea0e41c44a09d31ebcd0437a3c867a24 (patch) | |
tree | 0004eceb52b4bb3a4da1275057e46ea80e840a05 /src/empathy-chat-chandler.c | |
parent | 736ff5bf9f668528f1a1db1c8c135a8165a1b044 (diff) | |
download | gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.gz gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.bz2 gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.lz gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.xz gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.tar.zst gsoc2013-empathy-b8607414ea0e41c44a09d31ebcd0437a3c867a24.zip |
merge git work
svn path=/trunk/; revision=518
Diffstat (limited to 'src/empathy-chat-chandler.c')
-rw-r--r-- | src/empathy-chat-chandler.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/empathy-chat-chandler.c b/src/empathy-chat-chandler.c index 79bbe8a35..dc2eb60f7 100644 --- a/src/empathy-chat-chandler.c +++ b/src/empathy-chat-chandler.c @@ -48,19 +48,6 @@ #define BUS_NAME "org.gnome.Empathy.ChatChandler" #define OBJECT_PATH "/org/gnome/Empathy/ChatChandler" -static guint nb_chats = 0; - -static void -chat_chandler_weak_notify (gpointer data, - GObject *where_the_object_was) -{ - nb_chats--; - if (nb_chats == 0) { - empathy_debug (DEBUG_DOMAIN, "No more chats, leaving..."); - gtk_main_quit (); - } -} - static void chat_chandler_new_channel_cb (EmpathyChandler *chandler, TpConn *tp_conn, @@ -112,8 +99,6 @@ chat_chandler_new_channel_cb (EmpathyChandler *chandler, return; } - nb_chats++; - g_object_weak_ref (G_OBJECT (chat), chat_chandler_weak_notify, NULL); empathy_chat_present (chat); g_object_unref (chat); |