[empathy: 19/26] search_text_notify_cb: rename iter to filter_iter to avoid confusion
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 19/26] search_text_notify_cb: rename iter to filter_iter to avoid confusion
- Date: Thu, 26 Aug 2010 12:04:58 +0000 (UTC)
commit 469e9ea6d1e007265f7a5ec518e27052be9305a3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Aug 25 16:28:09 2010 +0200
search_text_notify_cb: rename iter to filter_iter to avoid confusion
.../empathy-irc-network-chooser-dialog.c | 7 ++++---
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 b51a32e..6f123fb 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]