[gtk+/filechooserentry: 43/51] filechooserentry: Get rid of unused member variable
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/filechooserentry: 43/51] filechooserentry: Get rid of unused member variable
- Date: Mon, 7 Nov 2011 04:46:38 +0000 (UTC)
commit 6da1159d88893c9503b42193753163d45171364e
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]