[gtkmm/gtkmm-3-6] PixbufAnimation: Fix refcounting on get_iter().
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-6] PixbufAnimation: Fix refcounting on get_iter().
- Date: Tue, 4 Dec 2012 16:11:44 +0000 (UTC)
commit 35fc6448e627654ebd7b6a847c88cd59a629102d
Author: Andrew Potter <agpotter gmail com>
Date: Tue Dec 4 17:08:32 2012 +0100
PixbufAnimation: Fix refcounting on get_iter().
* gdk/src/pixbufanimation.hg: gdk_pixbuf_animation_get_iter() returns a new
reference, so we should not be taking an extra reference(). Bug #688686.
ChangeLog | 7 +++++++
gdk/src/pixbufanimation.hg | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b73dd01..2160992 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-12-04 Andrew Potter <agpotter gmail com>
+
+ PixbufAnimation: Fix refcounting on get_iter().
+
+ * gdk/src/pixbufanimation.hg: gdk_pixbuf_animation_get_iter() returns a new
+ reference, so we should not be taking an extra reference(). Bug #688686.
+
2012-11-13 Kjell Ahlstedt <kjell ahlstedt bredband net>
Bin, Container::remove(): Restore the floating ref of a managed widget.
diff --git a/gdk/src/pixbufanimation.hg b/gdk/src/pixbufanimation.hg
index 84b1df9..a62c1e0 100644
--- a/gdk/src/pixbufanimation.hg
+++ b/gdk/src/pixbufanimation.hg
@@ -49,7 +49,7 @@ public:
_WRAP_METHOD(int get_height() const, gdk_pixbuf_animation_get_height)
_WRAP_METHOD(bool is_static_image() const, gdk_pixbuf_animation_is_static_image)
_WRAP_METHOD(Glib::RefPtr<Pixbuf> get_static_image(), gdk_pixbuf_animation_get_static_image, refreturn)
- _WRAP_METHOD(Glib::RefPtr<PixbufAnimationIter> get_iter(const GTimeVal* start_time), gdk_pixbuf_animation_get_iter, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<PixbufAnimationIter> get_iter(const GTimeVal* start_time), gdk_pixbuf_animation_get_iter)
};
} // namespace Gdk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]