diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-07 04:30:04 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-12-16 20:09:14 +0100 |
commit | b47b6d307e0958097bd3e5792bc9a39bd54f5f3a (patch) | |
tree | 218d21209ef2e231e984b5cbd1b306b77c0e54d8 /gtk/gtkfilechooserentry.c | |
parent | 5607cd9170cb28230127c62a988749e8a6fdbec1 (diff) | |
download | gtk+-b47b6d307e0958097bd3e5792bc9a39bd54f5f3a.tar.gz |
filechooserentry: Remove the file column
It is not needed anymore.
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index d8dd77dd70..44cd1b225c 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -75,7 +75,6 @@ enum { DISPLAY_NAME_COLUMN, FULL_PATH_COLUMN, - FILE_COLUMN, N_COLUMNS }; @@ -535,9 +534,6 @@ completion_store_set (GtkFileSystemModel *model, switch (column) { - case FILE_COLUMN: - g_value_set_object (value, file); - break; case FULL_PATH_COLUMN: prefix = chooser_entry->dir_part; /* fall through */ @@ -570,8 +566,7 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry) chooser_entry, N_COLUMNS, G_TYPE_STRING, - G_TYPE_STRING, - G_TYPE_FILE)); + G_TYPE_STRING)); g_signal_connect (chooser_entry->completion_store, "finished-loading", G_CALLBACK (finished_loading_cb), chooser_entry); |