Commit 94ed54f8 authored by Ross Lagerwall's avatar Ross Lagerwall

GtkPlacesSidebar: Only add shortcut if query succeeds

https://bugzilla.gnome.org/show_bug.cgi?id=736512
parent ca1e98a4
......@@ -754,7 +754,7 @@ on_app_shortcuts_query_complete (GObject *source,
info = g_file_query_info_finish (file, result, NULL);
if (info == NULL)
if (info)
{
gchar *uri;
gchar *tooltip;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment