[empathy] Fix compilation warning: chatrooms_window_model_get_selected() was not used.



commit f2217bc91bb85bd3033ade76d3c952266e1c5d46
Author: Xavier Claessens <xclaesse gmail com>
Date:   Thu Apr 16 15:49:55 2009 +0200

    Fix compilation warning: chatrooms_window_model_get_selected() was not used.
---
 src/empathy-chatrooms-window.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c
index abd6447..acd559e 100644
--- a/src/empathy-chatrooms-window.c
+++ b/src/empathy-chatrooms-window.c
@@ -437,7 +437,11 @@ chatrooms_window_model_get_selected (EmpathyChatroomsWindow *window)
 static void
 chatrooms_window_model_action_selected (EmpathyChatroomsWindow *window)
 {
+	EmpathyChatroom *chatroom;
+
 	/* FIXME: This is still not implemented since Gossip fork */
+	chatroom = chatrooms_window_model_get_selected (window);
+	g_object_unref (chatroom);
 }
 
 static void
@@ -482,7 +486,11 @@ static void
 chatrooms_window_button_edit_clicked_cb (GtkWidget             *widget,
 					 EmpathyChatroomsWindow *window)
 {
+	EmpathyChatroom *chatroom;
+
 	/* FIXME: This is still not implemented since Gossip fork */
+	chatroom = chatrooms_window_model_get_selected (window);
+	g_object_unref (chatroom);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]