summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-04-16 15:49:55 +0200
committerXavier Claessens <xclaesse@gmail.com>2009-04-16 21:56:59 +0200
commitf2217bc91bb85bd3033ade76d3c952266e1c5d46 (patch)
tree8ab7679ae95264fc4291d13d4a3eb4bfc164cd60
parentcb931be0a6d71a05c4ea48d3380f64ffaecbfe0b (diff)
downloadempathy-f2217bc91bb85bd3033ade76d3c952266e1c5d46.tar.gz
Fix compilation warning: chatrooms_window_model_get_selected() was not used.
-rw-r--r--src/empathy-chatrooms-window.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/empathy-chatrooms-window.c b/src/empathy-chatrooms-window.c
index abd6447f6..acd559e5f 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