place sidebar: Make removing bookmarks work again

This was accidentally broken in ae8c07c67c when I
forgot to switch the sense of a condition.
This commit is contained in:
Matthias Clasen 2015-07-06 23:21:51 -04:00
parent e1211577b3
commit fb316156e2

View File

@ -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);