diff options
author | Federico Mena Quintero <federico@gnome.org> | 2012-12-10 16:05:18 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2012-12-10 16:05:18 -0600 |
commit | 016dd28a9fea01cc494e601be37adfc59f8658e7 (patch) | |
tree | 6a12ca803205407fb5938c936ccf12f261949e78 /gtk/gtkfilechooserdefault.c | |
parent | c26293eacdd936582fc2fc617b8f00df4aa12a0b (diff) | |
download | gtk+-016dd28a9fea01cc494e601be37adfc59f8658e7.tar.gz |
Remove an obsolete function
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r-- | gtk/gtkfilechooserdefault.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index f0986d1f43..2be1764337 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -3060,26 +3060,6 @@ operation_mode_set_recent (GtkFileChooserDefault *impl) recent_start_loading (impl); } -#if REMOVE_FOR_PLACES_SIDEBAR -/* Sometimes we need to frob the selection in the shortcuts list manually */ -static void -shortcuts_select_item_without_activating (GtkFileChooserDefault *impl, int pos) -{ - GtkTreeSelection *selection; - GtkTreePath *path; - - selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (impl->browse_shortcuts_tree_view)); - - g_signal_handlers_block_by_func (selection, G_CALLBACK (shortcuts_selection_changed_cb), impl); - - path = gtk_tree_path_new_from_indices (pos, -1); - gtk_tree_selection_select_path (selection, path); - gtk_tree_path_free (path); - - g_signal_handlers_unblock_by_func (selection, G_CALLBACK (shortcuts_selection_changed_cb), impl); -} -#endif - static void operation_mode_set (GtkFileChooserDefault *impl, OperationMode mode) { |