[pygtk/gtk-3.0: 2/55] Fixme: Work around has_user_ref_count
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk/gtk-3.0: 2/55] Fixme: Work around has_user_ref_count
- Date: Sat, 17 Jul 2010 00:24:34 +0000 (UTC)
commit 87a2f78b7673e757b8d51c983685b47f0193b9cb
Author: John Stowers <john stowers gmail com>
Date: Sat Jun 19 14:41:10 2010 +1200
Fixme: Work around has_user_ref_count
gtk/gtk-base-types.defs | 2 +-
gtk/gtkmodule.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtk-base-types.defs b/gtk/gtk-base-types.defs
index a780322..0cf332f 100644
--- a/gtk/gtk-base-types.defs
+++ b/gtk/gtk-base-types.defs
@@ -2619,7 +2619,7 @@
'("guint" "need_default_size")
'("guint" "position")
'("guint" "type")
- '("guint" "has_user_ref_count")
+; '("guint" "has_user_ref_count")
'("guint" "has_focus")
'("guint" "modal")
'("guint" "destroy_with_parent")
diff --git a/gtk/gtkmodule.c b/gtk/gtkmodule.c
index ff6420c..1d80d41 100644
--- a/gtk/gtkmodule.c
+++ b/gtk/gtkmodule.c
@@ -59,7 +59,7 @@ static void
sink_gtkwindow(GObject *object)
{
if (object->ref_count == 1
- && GTK_WINDOW(object)->has_user_ref_count) {
+ && GTK_WINDOW(object)->_g_sealed__has_user_ref_count) {
g_object_ref(object);
}
}
@@ -68,7 +68,7 @@ static void
sink_gtkinvisible(GObject *object)
{
if (object->ref_count == 1
- && GTK_INVISIBLE(object)->has_user_ref_count) {
+ && GTK_INVISIBLE(object)->_g_sealed__has_user_ref_count) {
g_object_ref(object);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]