Silence errors when unable to preview images

This commit is contained in:
Pierre Pronchery 2017-01-07 22:32:00 +01:00
parent 0bda25ecc8
commit 36ba184467

View File

@ -2490,7 +2490,9 @@ static void _on_preferences_update_preview(gpointer data)
#endif
if(error != NULL)
{
#ifdef DEBUG
_desktop_error(NULL, NULL, error->message, 1);
#endif
g_error_free(error);
}
if(pixbuf != NULL)