[vala] gtk+-2.0, gtk+-3.0: Make TreeModel.ref_node and unref_node be virtual
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Make TreeModel.ref_node and unref_node be virtual
- Date: Sun, 5 Jun 2011 08:00:24 +0000 (UTC)
commit beda92a0501fc408f81986052506589c1654eead
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Jun 5 09:59:21 2011 +0200
gtk+-2.0, gtk+-3.0: Make TreeModel.ref_node and unref_node be virtual
Fixes bug 651872.
vapi/gtk+-2.0.vapi | 6 +++---
vapi/gtk+-3.0.vapi | 6 +++---
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 ++
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 ++
4 files changed, 10 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 4c98e17..6201f13 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -6213,8 +6213,8 @@ namespace Gtk {
public abstract bool iter_next (ref Gtk.TreeIter iter);
public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
- public abstract void ref_node (Gtk.TreeIter iter);
- public abstract void unref_node (Gtk.TreeIter iter);
+ public virtual void ref_node (Gtk.TreeIter iter);
+ public virtual void unref_node (Gtk.TreeIter iter);
[HasEmitter]
public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
[HasEmitter]
@@ -7395,7 +7395,7 @@ namespace Gtk {
MISSING_PROPERTY_VALUE,
INVALID_VALUE,
VERSION_MISMATCH,
- DUPLICATE_ID,
+ DUPLICATE_ID
}
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate void AboutDialogActivateLinkFunc (Gtk.AboutDialog about, string link_);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 09ad885..104a222 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6021,8 +6021,8 @@ namespace Gtk {
public abstract bool iter_nth_child (out Gtk.TreeIter iter, Gtk.TreeIter? parent, int n);
public abstract bool iter_parent (out Gtk.TreeIter iter, Gtk.TreeIter child);
public virtual bool iter_previous (ref Gtk.TreeIter iter);
- public abstract void ref_node (Gtk.TreeIter iter);
- public abstract void unref_node (Gtk.TreeIter iter);
+ public virtual void ref_node (Gtk.TreeIter iter);
+ public virtual void unref_node (Gtk.TreeIter iter);
[HasEmitter]
public signal void row_changed (Gtk.TreePath path, Gtk.TreeIter iter);
[HasEmitter]
@@ -7069,7 +7069,7 @@ namespace Gtk {
MISSING_PROPERTY_VALUE,
INVALID_VALUE,
VERSION_MISMATCH,
- DUPLICATE_ID,
+ DUPLICATE_ID
}
[CCode (cheader_filename = "gtk/gtk.h")]
public delegate bool AccelGroupActivate (Gtk.AccelGroup accel_group, GLib.Object acceleratable, uint keyval, Gdk.ModifierType modifier);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 0027d97..b7213de 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -675,6 +675,8 @@ gtk_tree_model_iter_next.iter is_ref="1"
gtk_tree_model_iter_nth_child.iter is_out="1"
gtk_tree_model_iter_nth_child.parent nullable="1"
gtk_tree_model_iter_parent.iter is_out="1"
+gtk_tree_model_ref_node virtual="1"
+gtk_tree_model_unref_node virtual="1"
GtkTreeModel::row_changed has_emitter="1"
GtkTreeModel::row_deleted has_emitter="1"
GtkTreeModel::row_has_child_toggled has_emitter="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 7ad3b0e..d928515 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -732,6 +732,8 @@ gtk_tree_model_iter_nth_child.parent nullable="1"
gtk_tree_model_iter_parent.iter is_out="1"
gtk_tree_model_iter_previous virtual="1"
gtk_tree_model_iter_previous.iter is_ref="1"
+gtk_tree_model_ref_node virtual="1"
+gtk_tree_model_unref_node virtual="1"
GtkTreeModel::row_changed has_emitter="1"
GtkTreeModel::row_deleted has_emitter="1"
GtkTreeModel::row_has_child_toggled has_emitter="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]