[gtkmm] Adjustment: Fix the reference counting.



commit 315f30aa811700334ae0f093fe9a1a8ad752fbb0
Author: Murray Cumming <murrayc murrayc com>
Date:   Sun Oct 3 09:42:05 2010 +0200

    Adjustment: Fix the reference counting.
    
    	* gtk/src/adjustment.hg: Use _DERIVES_INITIALLY_UNOWNED() as with
    	RecentFilter and FileFilter.

 ChangeLog             |    7 +++++++
 gtk/src/adjustment.hg |    1 +
 2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0403348..bc8227e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-30  Murray Cumming  <murrayc murrayc com>
+
+  Adjustment: Fix the reference counting.
+
+	* gtk/src/adjustment.hg: Use _DERIVES_INITIALLY_UNOWNED() as with 
+	RecentFilter and FileFilter.
+	
 2010-10-01  Murray Cumming  <murrayc murrayc com>
 
 	gdkmm: Window: Added new methods.
diff --git a/gtk/src/adjustment.hg b/gtk/src/adjustment.hg
index 6cad4b3..7f2a799 100644
--- a/gtk/src/adjustment.hg
+++ b/gtk/src/adjustment.hg
@@ -46,6 +46,7 @@ namespace Gtk
 class Adjustment : public Glib::Object
 {
   _CLASS_GOBJECT(Adjustment,GtkAdjustment,GTK_ADJUSTMENT,Glib::Object,GObject)
+  _DERIVES_INITIALLY_UNOWNED()
 public:
 
   friend class Range;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]