Fix an oversight

Followup for 3c41d4865e
This commit is contained in:
Matthias Clasen 2013-10-15 21:29:06 -04:00
parent 6d5cbf16d6
commit 4b7eaee959

View File

@ -3877,7 +3877,7 @@ gtk_icon_info_load_icon (GtkIconInfo *icon_info,
{ {
if (icon_info->load_error) if (icon_info->load_error)
{ {
if (*error) if (error)
*error = g_error_copy (icon_info->load_error); *error = g_error_copy (icon_info->load_error);
} }
else else