[gtk+] filechooserentry: Get rid of unused member variable



commit 357ae09b544971236bc8cd3562f7e07d51ba71c4
Author: Benjamin Otte <otte redhat com>
Date:   Mon Nov 7 03:34:41 2011 +0100

    filechooserentry: Get rid of unused member variable
    
    in_change isn't set anymore.

 gtk/gtkfilechooserentry.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index b2bb658..3f47574 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -77,7 +77,6 @@ struct _GtkFileChooserEntry
   GtkTreeModel *completion_store;
 
   guint current_folder_loaded : 1;
-  guint in_change      : 1;
   guint eat_tabs       : 1;
   guint local_only     : 1;
 };
@@ -150,9 +149,6 @@ gtk_file_chooser_entry_dispatch_properties_changed (GObject     *object,
   /* What we are after: The text in front of the cursor was modified.
    * Unfortunately, there's no other way to catch this. */
 
-  if (chooser_entry->in_change)
-    return;
-
   for (i = 0; i < n_pspecs; i++)
     {
       if (pspecs[i]->name == I_("cursor-position") ||
@@ -284,8 +280,6 @@ match_selected_callback (GtkEntryCompletion  *completion,
 		      FULL_PATH_COLUMN, &path,
                       -1);
 
-  /* We don't set in_change here as we want to update the current_folder
-   * variable */
   gtk_editable_delete_text (GTK_EDITABLE (chooser_entry),
 			    0,
                             gtk_editable_get_position (GTK_EDITABLE (chooser_entry)));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]