From fb316156e24b1021c8680b05392be972645515fd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 6 Jul 2015 23:21:51 -0400 Subject: [PATCH] place sidebar: Make removing bookmarks work again This was accidentally broken in ae8c07c67cfa83d967 when I forgot to switch the sense of a condition. --- gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 54271df828..a591ea5da3 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -2479,7 +2479,7 @@ remove_bookmark (GtkSidebarRow *row) "uri", &uri, NULL); - if (type != PLACES_BOOKMARK) + if (type == PLACES_BOOKMARK) { file = g_file_new_for_uri (uri); _gtk_bookmarks_manager_remove_bookmark (sidebar->bookmarks_manager, file, NULL);