[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 20:47:50 +0000 (UTC)
commit 0dca40e8512343203581916efa8947ae9ff14db6
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Dec 10 14:09:40 2012 -0600
Remove an obsolete function
gtk/gtkfilechooserdefault.c | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 0180709..af6e53c 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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]