mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
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:
parent
e1211577b3
commit
fb316156e2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user