[nautilus] window: remove unused code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] window: remove unused code
- Date: Mon, 10 Jan 2011 09:42:44 +0000 (UTC)
commit 179b688c5938ba12e101a0231ba46199d2de4a5e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 10 10:41:54 2011 +0100
window: remove unused code
src/nautilus-window-private.h | 5 -----
src/nautilus-window.c | 30 ------------------------------
2 files changed, 0 insertions(+), 35 deletions(-)
---
diff --git a/src/nautilus-window-private.h b/src/nautilus-window-private.h
index 439553a..1e63c4f 100644
--- a/src/nautilus-window-private.h
+++ b/src/nautilus-window-private.h
@@ -203,12 +203,7 @@ void nautilus_window_set_active_pane (Nautil
NautilusWindowPane * nautilus_window_get_active_pane (NautilusWindow *window);
void nautilus_send_history_list_changed (void);
-void nautilus_remove_from_history_list_no_notify (GFile *location);
gboolean nautilus_add_bookmark_to_history_list (NautilusBookmark *bookmark);
-gboolean nautilus_add_to_history_list_no_notify (GFile *location,
- const char *name,
- gboolean has_custom_name,
- GIcon *icon);
GList * nautilus_get_history_list (void);
void nautilus_window_bookmarks_preference_changed_callback (gpointer user_data);
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 1c38a11..147f15d 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -1636,10 +1636,6 @@ nautilus_add_bookmark_to_history_list (NautilusBookmark *bookmark)
free_history_list_is_set_up = TRUE;
}
-/* g_warning ("Add to history list '%s' '%s'",
- nautilus_bookmark_get_name (bookmark),
- nautilus_bookmark_get_uri (bookmark)); */
-
if (!history_list ||
nautilus_bookmark_compare_uris (history_list->data, bookmark)) {
g_object_ref (bookmark);
@@ -1661,32 +1657,6 @@ nautilus_add_bookmark_to_history_list (NautilusBookmark *bookmark)
return FALSE;
}
-void
-nautilus_remove_from_history_list_no_notify (GFile *location)
-{
- NautilusBookmark *bookmark;
-
- bookmark = nautilus_bookmark_new (location, "", FALSE, NULL);
- remove_from_history_list (bookmark);
- g_object_unref (bookmark);
-}
-
-gboolean
-nautilus_add_to_history_list_no_notify (GFile *location,
- const char *name,
- gboolean has_custom_name,
- GIcon *icon)
-{
- NautilusBookmark *bookmark;
- gboolean ret;
-
- bookmark = nautilus_bookmark_new (location, name, has_custom_name, icon);
- ret = nautilus_add_bookmark_to_history_list (bookmark);
- g_object_unref (bookmark);
-
- return ret;
-}
-
NautilusWindowSlot *
nautilus_window_get_slot_for_view (NautilusWindow *window,
NautilusView *view)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]