freebsd-ports/graphics/gthumb2/files/patch-libgthumb_image-loader.c
Joe Marcus Clarke 8810494a59 Fix a hang on exit on -CURRENT.
Approved by:	maintainer timeout
2003-03-05 05:44:39 +00:00

14 lines
352 B
C

--- libgthumb/image-loader.c.orig Mon Mar 3 15:45:30 2003
+++ libgthumb/image-loader.c Mon Mar 3 15:45:32 2003
@@ -534,8 +534,10 @@
image_loader_sync_pixbuf (il);
priv->done_func = NULL;
- if (done_func != NULL)
+ if (done_func != NULL) {
(*done_func) (priv->done_func_data);
+ return;
+ }
if (! priv->emit_signal)
return;