[gtkmm] FileFilter, RecentFilter: Fix the reference counting.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] FileFilter, RecentFilter: Fix the reference counting.
- Date: Thu, 30 Sep 2010 07:44:13 +0000 (UTC)
commit 07ce7bfe14dd5edacc7d1950aac51463e2ca3241
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Sep 30 09:30:14 2010 +0200
FileFilter, RecentFilter: Fix the reference counting.
* gtk/src/filefilter.hg:
* gtk/src/recentfilter.hg: Ue _DERIVES_INITIALLY_UNOWNED() because these
use GInitiallyUnowned though we don't derive from our Gtk::Object.
ChangeLog | 8 ++++++++
gtk/src/filefilter.hg | 1 +
gtk/src/recentfilter.hg | 1 +
3 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ba82644..651f0bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-09-30 Murray Cumming <murrayc murrayc com>
+
+ FileFilter, RecentFilter: Fix the reference counting.
+
+ * gtk/src/filefilter.hg:
+ * gtk/src/recentfilter.hg: Ue _DERIVES_INITIALLY_UNOWNED() because these
+ use GInitiallyUnowned though we don't derive from our Gtk::Object.
+
2010-09-28 Murray Cumming <murrayc murrayc com>
Use g_object_weak_ref() instead of the destroy signal.
diff --git a/gtk/src/filefilter.hg b/gtk/src/filefilter.hg
index 23925eb..0a431ca 100644
--- a/gtk/src/filefilter.hg
+++ b/gtk/src/filefilter.hg
@@ -45,6 +45,7 @@ _WRAP_ENUM(FileFilterFlags, GtkFileFilterFlags)
class FileFilter : public Glib::Object
{
_CLASS_GOBJECT(FileFilter, GtkFileFilter, GTK_FILE_FILTER, Glib::Object, GObject)
+ _DERIVES_INITIALLY_UNOWNED()
protected:
_CTOR_DEFAULT
diff --git a/gtk/src/recentfilter.hg b/gtk/src/recentfilter.hg
index ffe87dc..5659d54 100644
--- a/gtk/src/recentfilter.hg
+++ b/gtk/src/recentfilter.hg
@@ -49,6 +49,7 @@ _WRAP_ENUM(RecentFilterFlags, GtkRecentFilterFlags)
class RecentFilter : public Glib::Object
{
_CLASS_GOBJECT(RecentFilter, GtkRecentFilter, GTK_RECENT_FILTER, Glib::Object, GObject)
+ _DERIVES_INITIALLY_UNOWNED()
protected:
_CTOR_DEFAULT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]