From 1db5905b389c534c61cdbfac1f27e01b4be1f32f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Dec 2006 03:14:31 +0000 Subject: [PATCH] Emit the closed signal when closing the loader, pointed out by David 2006-12-21 Matthias Clasen * gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Emit the closed signal when closing the loader, pointed out by David Necas. --- gdk-pixbuf/ChangeLog | 6 ++++++ gdk-pixbuf/gdk-pixbuf-loader.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 7bc8e58265..ea7845b59f 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,9 @@ +2006-12-21 Matthias Clasen + + * 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 * io-gif.c (gif_get_lzw): Handle invalid gif animations diff --git a/gdk-pixbuf/gdk-pixbuf-loader.c b/gdk-pixbuf/gdk-pixbuf-loader.c index a3c8e8c93d..6ee5837f6b 100644 --- a/gdk-pixbuf/gdk-pixbuf-loader.c +++ b/gdk-pixbuf/gdk-pixbuf-loader.c @@ -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; }