diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-04-23 22:30:31 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-04-23 22:30:31 +0800 |
commit | dc3198dd7b9b46c9507e143b0cc52f48d9266636 (patch) | |
tree | 67418004bfa6dd4cc46ca3696507c2c9602b037f /src | |
parent | 5225a1571d6f94447a4a51815b8d24c01d14d1a0 (diff) | |
download | gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.tar gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.tar.gz gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.tar.bz2 gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.tar.lz gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.tar.xz gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.tar.zst gsoc2013-empathy-dc3198dd7b9b46c9507e143b0cc52f48d9266636.zip |
Fix some warnings with roomlist
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1034 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-new-chatroom-dialog.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c index 1b1dd653f..5db40c0fb 100644 --- a/src/empathy-new-chatroom-dialog.c +++ b/src/empathy-new-chatroom-dialog.c @@ -95,7 +95,7 @@ static void new_chatroom_dialog_new_room_cb (EmpathyTpRo EmpathyChatroom *chatroom, EmpathyNewChatroomDialog *dialog); static void new_chatroom_dialog_listing_cb (EmpathyTpRoomlist *room_list, - gboolean listing, + gpointer unused, EmpathyNewChatroomDialog *dialog); static void new_chatroom_dialog_model_clear (EmpathyNewChatroomDialog *dialog); static void new_chatroom_dialog_model_row_activated_cb (GtkTreeView *tree_view, @@ -366,7 +366,7 @@ new_chatroom_dialog_account_changed_cb (GtkComboBox *combobox, g_signal_connect (dialog->room_list, "new-room", G_CALLBACK (new_chatroom_dialog_new_room_cb), dialog); - g_signal_connect (dialog->room_list, "listing", + g_signal_connect (dialog->room_list, "notify::listing", G_CALLBACK (new_chatroom_dialog_listing_cb), dialog); @@ -415,9 +415,13 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list, static void new_chatroom_dialog_listing_cb (EmpathyTpRoomlist *room_list, - gboolean listing, + gpointer unused, EmpathyNewChatroomDialog *dialog) { + gboolean listing; + + listing = empathy_tp_roomlist_is_listing (room_list); + /* Update the throbber */ if (listing) { ephy_spinner_start (EPHY_SPINNER (dialog->throbber)); |