[gtkmm] TreeRowReference::get_model(): Correct the reference counting.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] TreeRowReference::get_model(): Correct the reference counting.
- Date: Tue, 6 Apr 2010 09:58:48 +0000 (UTC)
commit 453c087aad2d0ec0c9bacb1428bb49d7514bb782
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Apr 6 11:58:32 2010 +0200
TreeRowReference::get_model(): Correct the reference counting.
* gtk/src/treerowreference.hg: get_model(): Add a refreturn.
This fixes bug #611814 (Kamil Renczewski)
ChangeLog | 7 +++++++
gtk/src/treerowreference.hg | 4 ++--
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c2a01bd..9cdfd5b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-04-06 Murray Cumming <murrayc murrayc com>
+
+ TreeRowReference::get_model(): Correct the reference counting.
+
+ * gtk/src/treerowreference.hg: get_model(): Add a refreturn.
+ This fixes bug #611814 (Kamil Renczewski)
+
2010-04-03 Armin Burgmeier <armin arbur net>
* win32_installer/gtkmm-vc80-2_4.vsprops:
diff --git a/gtk/src/treerowreference.hg b/gtk/src/treerowreference.hg
index 7a4d0d3..d42cf39 100644
--- a/gtk/src/treerowreference.hg
+++ b/gtk/src/treerowreference.hg
@@ -44,8 +44,8 @@ public:
_WRAP_METHOD(TreeModel::Path get_path() const, gtk_tree_row_reference_get_path)
- _WRAP_METHOD(Glib::RefPtr<TreeModel> get_model(), gtk_tree_row_reference_get_model)
- _WRAP_METHOD(Glib::RefPtr<const TreeModel> get_model() const, gtk_tree_row_reference_get_model, constversion)
+ _WRAP_METHOD(Glib::RefPtr<TreeModel> get_model(), gtk_tree_row_reference_get_model, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<const TreeModel> get_model() const, gtk_tree_row_reference_get_model, refreturn, constversion)
_WRAP_METHOD(bool is_valid() const, gtk_tree_row_reference_valid)
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]