From 0dca40e8512343203581916efa8947ae9ff14db6 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 10 Dec 2012 14:09:40 -0600 Subject: [PATCH] Remove an obsolete function --- gtk/gtkfilechooserdefault.c | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 018070960d..af6e53cdf5 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -1278,38 +1278,6 @@ selection_check (GtkFileChooserDefault *impl, *all_folders = closure.all_folders; } -#if REMOVE_FOR_PLACES_SIDEBAR -/* Parses a "text/uri-list" string and inserts its URIs as bookmarks */ -static void -shortcuts_drop_uris (GtkFileChooserDefault *impl, - GtkSelectionData *selection_data, - int position) -{ - gchar **uris; - gint i; - - uris = gtk_selection_data_get_uris (selection_data); - if (!uris) - return; - - for (i = 0; uris[i]; i++) - { - char *uri; - GFile *file; - - uri = uris[i]; - file = g_file_new_for_uri (uri); - - if (shortcuts_add_bookmark_from_file (impl, file, position)) - position++; - - g_object_unref (file); - } - - g_strfreev (uris); -} -#endif - static void places_sidebar_location_selected_cb (GtkPlacesSidebar *sidebar, GFile *location, GtkPlacesOpenMode open_mode, GtkFileChooserDefault *impl) {