[gtk+/gtk-2-24] filechooserentry: Get rid of unused member variable
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] filechooserentry: Get rid of unused member variable
- Date: Thu, 10 Mar 2016 21:30:54 +0000 (UTC)
commit dbb59f3dc415f68eb722c51df9d46349cd0b9f3f
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 74f6e4c..4854a93 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -80,7 +80,6 @@ struct _GtkFileChooserEntry
GtkTreeModel *completion_store;
guint current_folder_loaded : 1;
- guint in_change : 1;
guint eat_tabs : 1;
guint local_only : 1;
};
@@ -153,9 +152,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") ||
@@ -287,8 +283,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]