]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkfilechooserentry.c
filechooserentry: Get rid of unused member variable
[~andy/gtk] / gtk / gtkfilechooserentry.c
index b2bb658280d5f6c474b84463161f11bf1c76b310..3f4757440f733dda9b2fd1e59d0cb25247ee5c47 100644 (file)
@@ -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)));