Fix an annoying double-unref
This commit is contained in:
parent
1ee975b110
commit
f1742ec7da
@ -364,7 +364,6 @@ entry_add_thumbnail(gpointer data, gpointer user_data)
|
|||||||
G_FILE_ATTRIBUTE_STANDARD_NAME
|
G_FILE_ATTRIBUTE_STANDARD_NAME
|
||||||
"," G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON,
|
"," G_FILE_ATTRIBUTE_STANDARD_SYMBOLIC_ICON,
|
||||||
G_FILE_QUERY_INFO_NONE, NULL, NULL);
|
G_FILE_QUERY_INFO_NONE, NULL, NULL);
|
||||||
g_object_unref(file);
|
|
||||||
if (info) {
|
if (info) {
|
||||||
GIcon *icon = g_file_info_get_symbolic_icon(info);
|
GIcon *icon = g_file_info_get_symbolic_icon(info);
|
||||||
if (icon)
|
if (icon)
|
||||||
|
Loading…
Reference in New Issue
Block a user