From bd4555c42f16315bc813d2d690a41878569ce609 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Apr 2008 14:30:31 +0000 Subject: Fix some warnings with roomlist svn path=/trunk/; revision=1034 --- src/empathy-new-chatroom-dialog.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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)); -- cgit v1.2.3