filebrowser: Don't use deprecated GtkStock

This commit is contained in:
JosephMcc
2017-02-15 18:15:41 -08:00
parent ee1448d73f
commit 5c08882ba6
4 changed files with 28 additions and 41 deletions

View File

@@ -559,11 +559,10 @@ get_from_bookmark_file (XedFileBrowserWidget *obj,
item = (NameIcon *)data;
*name = g_strdup (item->name);
*icon = item->icon;
if (item->icon != NULL)
if (icon != NULL && item->icon != NULL)
{
g_object_ref (item->icon);
*icon = g_object_ref (item->icon);
}
return TRUE;