[gtk+/places-sidebar] Remove an obsolete function
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/places-sidebar] Remove an obsolete function
- Date: Mon, 10 Dec 2012 23:16:48 +0000 (UTC)
commit 016dd28a9fea01cc494e601be37adfc59f8658e7
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Dec 10 16:05:18 2012 -0600
Remove an obsolete function
gtk/gtkfilechooserdefault.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index f0986d1..2be1764 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]