aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-new-chatroom-dialog.c
diff options
context:
space:
mode:
authorMarc Plano-Lesay <marc.planolesay@gmail.com>2011-05-04 20:35:07 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-05-05 15:45:18 +0800
commit981d17576bb3451bd4ac79cbd2de079fb64d260b (patch)
treeea826ef0ce7b0ab141bdc615b7641eda3a164654 /src/empathy-new-chatroom-dialog.c
parent9a1a49ed9ddf5a3d1da99eabca27882705688545 (diff)
downloadgsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar
gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.gz
gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.bz2
gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.lz
gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.xz
gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.zst
gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.zip
fix unused-but-set-variable warnings
Diffstat (limited to 'src/empathy-new-chatroom-dialog.c')
-rw-r--r--src/empathy-new-chatroom-dialog.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/empathy-new-chatroom-dialog.c b/src/empathy-new-chatroom-dialog.c
index f27e8de03..388a1e506 100644
--- a/src/empathy-new-chatroom-dialog.c
+++ b/src/empathy-new-chatroom-dialog.c
@@ -386,11 +386,8 @@ out:
static void
new_chatroom_dialog_update_widgets (EmpathyNewChatroomDialog *dialog)
{
- EmpathyAccountChooser *account_chooser;
const gchar *protocol;
- account_chooser = EMPATHY_ACCOUNT_CHOOSER (dialog->account_chooser);
-
if (dialog->account == NULL)
return;
@@ -535,8 +532,6 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list,
EmpathyChatroom *chatroom,
EmpathyNewChatroomDialog *dialog)
{
- GtkTreeView *view;
- GtkTreeSelection *selection;
GtkListStore *store;
GtkTreeIter iter;
gchar *members;
@@ -550,8 +545,6 @@ new_chatroom_dialog_new_room_cb (EmpathyTpRoomlist *room_list,
empathy_chatroom_get_room (chatroom));
/* Add to model */
- view = GTK_TREE_VIEW (dialog->treeview);
- selection = gtk_tree_view_get_selection (view);
store = GTK_LIST_STORE (dialog->model);
members = g_strdup_printf ("%d", empathy_chatroom_get_members_count (chatroom));
tmp = g_strdup_printf ("<b>%s</b>", empathy_chatroom_get_name (chatroom));