[gtk+] GtkImage: Always close the loader
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkImage: Always close the loader
- Date: Wed, 30 Jul 2014 22:13:24 +0000 (UTC)
commit 83c9fe109ea705fc6beabb561658aa08432ae0cf
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jul 31 00:12:30 2014 +0200
GtkImage: Always close the loader
This was causing some tests to fail with a critical.
gtk/gtkimage.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 98c969e..80b514d 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -900,6 +900,7 @@ load_scalable_with_loader (GtkImage *image,
}
out:
+ gdk_pixbuf_loader_close (loader, NULL);
g_object_unref (loader);
g_bytes_unref (bytes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]