Emit the closed signal when closing the loader, pointed out by David

2006-12-21  Matthias Clasen  <mclasen@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit
        the closed signal when closing the loader, pointed out
        by David Necas.
This commit is contained in:
Matthias Clasen 2006-12-22 03:14:31 +00:00 committed by Matthias Clasen
parent f750eb2f17
commit 1db5905b38
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit
the closed signal when closing the loader, pointed out
by David Necas.
2006-12-21 Matthias Clasen <mclasen@redhat.com>
* io-gif.c (gif_get_lzw): Handle invalid gif animations

View File

@ -481,6 +481,8 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
priv->holds_threadlock = FALSE;
}
g_signal_emit (loader, pixbuf_loader_signals[CLOSED], 0);
return FALSE;
}