app: fix error handling warning in gimp_brush_load_abr()

This commit is contained in:
Michael Natterer 2014-07-04 19:16:58 +02:00
parent e6f4252d55
commit 6e631420c3
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,8 @@ gimp_brush_load_abr (GimpContext *context,
abr_hdr.version);
}
g_propagate_error (error, my_error);
if (my_error)
g_propagate_error (error, my_error);
return g_list_reverse (brush_list);
}