diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-10 20:50:48 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-08-10 21:02:25 +0200 |
commit | 50266ca95d111019cb42a533698a229968b5e686 (patch) | |
tree | 28fa7f9a507936af48a2dc52291b7bfeb5a24665 /gtk/gtkfilechooserdefault.c | |
parent | 2c40c2b7c8dbd960ae3ab5154d6f16af9a343e32 (diff) | |
download | gtk+-50266ca95d111019cb42a533698a229968b5e686.tar.gz |
filechooser: Remove unused functions.
The last user is gone since 3a1ba3bd1ed261c8ea964f1dfcdfd29acbc477f8
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r-- | gtk/gtkfilechooserdefault.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index a4fb204f09..18c9ac0c67 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -798,34 +798,6 @@ pending_select_files_add (GtkFileChooserDefault *impl, g_slist_prepend (impl->pending_select_files, g_object_ref (file)); } -/* Used from gtk_tree_selection_selected_foreach() */ -static void -store_selection_foreach (GtkTreeModel *model, - GtkTreePath *path, - GtkTreeIter *iter, - gpointer data) -{ - GtkFileChooserDefault *impl; - GFile *file; - - impl = GTK_FILE_CHOOSER_DEFAULT (data); - - file = _gtk_file_system_model_get_file (GTK_FILE_SYSTEM_MODEL (model), iter); - pending_select_files_add (impl, file); -} - -/* Stores the current selection in the list of paths to select; this is used to - * preserve the selection when reloading the current folder. - */ -static void -pending_select_files_store_selection (GtkFileChooserDefault *impl) -{ - GtkTreeSelection *selection; - - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_files_tree_view)); - gtk_tree_selection_selected_foreach (selection, store_selection_foreach, impl); -} - static void gtk_file_chooser_default_finalize (GObject *object) { |