forked from AuroraMiddleware/gtk
GtkPlacesSidebar: avoid a crash
Be more careful when comparing uris during DND - they may be NULL. https://bugzilla.gnome.org/show_bug.cgi?id=720264
This commit is contained in:
parent
cc0c521c4c
commit
98bdc9321e
@ -1415,7 +1415,7 @@ compute_drop_position (GtkTreeView *tree_view,
|
||||
PLACES_SIDEBAR_COLUMN_URI, &uri,
|
||||
-1);
|
||||
|
||||
if (strcmp (uri, "recent:///") == 0)
|
||||
if (g_strcmp0 (uri, "recent:///") == 0)
|
||||
drop_possible = FALSE;
|
||||
|
||||
g_free (uri);
|
||||
|
Loading…
Reference in New Issue
Block a user