From baaa7c2eb50183d79c06466db5dd7f0195d24c57 Mon Sep 17 00:00:00 2001 From: Yevgen Muntyan <17531749+muntyan@users.noreply.github.com> Date: Tue, 21 Feb 2006 14:33:20 +0000 Subject: [PATCH] r1300@mlap: muntyan | 2006-02-21 02:29:01 -0600 Fixed mixing code and declarations --- moo/mooutils/moofileview/moofileentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moo/mooutils/moofileview/moofileentry.c b/moo/mooutils/moofileview/moofileentry.c index 87df5f19..0eb802ad 100644 --- a/moo/mooutils/moofileview/moofileentry.c +++ b/moo/mooutils/moofileview/moofileentry.c @@ -639,8 +639,6 @@ completion_tab_key (MooFileEntryCompletion *cmpl) static gboolean completion_popup_tab_key_press (MooFileEntryCompletion *cmpl) { - cmpl->priv->recheck_prefix = FALSE; - int n_items; GtkTreePath *path; GtkTreeIter iter; @@ -649,6 +647,8 @@ completion_popup_tab_key_press (MooFileEntryCompletion *cmpl) GString *prefix; gboolean unique; + cmpl->priv->recheck_prefix = FALSE; + n_items = gtk_tree_model_iter_n_children (cmpl->priv->model, NULL); if (!n_items)