[vala] gtk+-2.0, gtk+-3.0: Mark TreeModel.get_path return value as nullable
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-2.0, gtk+-3.0: Mark TreeModel.get_path return value as nullable
- Date: Sun, 5 Jun 2011 14:18:10 +0000 (UTC)
commit c187aa853f1168559cfc8d2427aea8a72ea7d7bb
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Jun 5 16:17:02 2011 +0200
gtk+-2.0, gtk+-3.0: Mark TreeModel.get_path return value as nullable
Fixes bug 651871.
vapi/gtk+-2.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 6201f13..71fa708 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -6203,7 +6203,7 @@ namespace Gtk {
public bool get_iter_first (out Gtk.TreeIter iter);
public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
public abstract int get_n_columns ();
- public abstract Gtk.TreePath get_path (Gtk.TreeIter iter);
+ public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
public string get_string_from_iter (Gtk.TreeIter iter);
public void get_valist (Gtk.TreeIter iter, void* var_args);
public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 104a222..558e204 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6010,7 +6010,7 @@ namespace Gtk {
public bool get_iter_first (out Gtk.TreeIter iter);
public bool get_iter_from_string (out Gtk.TreeIter iter, string path_string);
public abstract int get_n_columns ();
- public abstract Gtk.TreePath get_path (Gtk.TreeIter iter);
+ public abstract Gtk.TreePath? get_path (Gtk.TreeIter iter);
public string get_string_from_iter (Gtk.TreeIter iter);
public void get_valist (Gtk.TreeIter iter, void* var_args);
public abstract void get_value (Gtk.TreeIter iter, int column, out GLib.Value value);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index b7213de..99f27f8 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -665,7 +665,7 @@ gtk_tree_model_get ellipsis="1" sentinel="-1"
gtk_tree_model_get_iter.iter is_out="1"
gtk_tree_model_get_iter_first.iter is_out="1"
gtk_tree_model_get_iter_from_string.iter is_out="1"
-gtk_tree_model_get_path transfer_ownership="1"
+gtk_tree_model_get_path transfer_ownership="1" nullable="1"
gtk_tree_model_get_string_from_iter transfer_ownership="1"
gtk_tree_model_get_value.value is_out="1"
gtk_tree_model_iter_children.iter is_out="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index d928515..b69bd66 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -720,7 +720,7 @@ gtk_tree_model_get ellipsis="1" sentinel="-1"
gtk_tree_model_get_iter.iter is_out="1"
gtk_tree_model_get_iter_first.iter is_out="1"
gtk_tree_model_get_iter_from_string.iter is_out="1"
-gtk_tree_model_get_path transfer_ownership="1"
+gtk_tree_model_get_path transfer_ownership="1" nullable="1"
gtk_tree_model_get_string_from_iter transfer_ownership="1"
gtk_tree_model_get_value.value is_out="1"
gtk_tree_model_iter_children.iter is_out="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]