aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 22:28:09 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-25 22:28:09 +0800
commit469e9ea6d1e007265f7a5ec518e27052be9305a3 (patch)
tree15006d78ec3303e41bbe5a29a8e701b932ee4f74 /libempathy-gtk
parent0ead72dafcd03ac8db7b854cf883bea7a8394616 (diff)
downloadgsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.tar
gsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.tar.gz
gsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.tar.bz2
gsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.tar.lz
gsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.tar.xz
gsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.tar.zst
gsoc2013-empathy-469e9ea6d1e007265f7a5ec518e27052be9305a3.zip
search_text_notify_cb: rename iter to filter_iter to avoid confusion
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-irc-network-chooser-dialog.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-irc-network-chooser-dialog.c b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
index b51a32e9d..6f123fb44 100644
--- a/libempathy-gtk/empathy-irc-network-chooser-dialog.c
+++ b/libempathy-gtk/empathy-irc-network-chooser-dialog.c
@@ -401,15 +401,16 @@ search_text_notify_cb (EmpathyLiveSearch *search,
EmpathyIrcNetworkChooserDialog *self)
{
EmpathyIrcNetworkChooserDialogPriv *priv = GET_PRIV (self);
- GtkTreeIter iter;
+ GtkTreeIter filter_iter;
gboolean sensitive = FALSE;
gtk_tree_model_filter_refilter (priv->filter);
/* Select first matching network */
- if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (priv->filter), &iter))
+ if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (priv->filter),
+ &filter_iter))
{
- select_iter (self, &iter, TRUE);
+ select_iter (self, &filter_iter, TRUE);
sensitive = TRUE;
}