[vala] gtk+-2.0: Do not use const with GtkTreePath



commit 8b226b16d9f472d9ad93cbb6f292be2dbe477fd9
Author: Jürg Billeter <j bitron ch>
Date:   Sun Sep 27 16:49:56 2009 +0200

    gtk+-2.0: Do not use const with GtkTreePath
    
    Fixes bug 593567.

 vapi/gtk+-2.0.vapi                       |    4 ++--
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 8d660e8..d8d158f 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -4561,7 +4561,7 @@ namespace Gtk {
 	}
 	[Compact]
 	[Immutable]
-	[CCode (copy_function = "gtk_tree_path_copy", type_id = "GTK_TYPE_TREE_PATH", cheader_filename = "gtk/gtk.h")]
+	[CCode (copy_function = "gtk_tree_path_copy", const_cname = "GtkTreePath", type_id = "GTK_TYPE_TREE_PATH", cheader_filename = "gtk/gtk.h")]
 	public class TreePath {
 		[CCode (has_construct_function = false)]
 		public TreePath ();
@@ -5923,7 +5923,7 @@ namespace Gtk {
 		public weak Gtk.ActionCallback callback;
 		public bool is_active;
 	}
-	[CCode (type_id = "GTK_TYPE_TREE_ITER", use_const = false, cheader_filename = "gtk/gtk.h")]
+	[CCode (type_id = "GTK_TYPE_TREE_ITER", cheader_filename = "gtk/gtk.h")]
 	public struct TreeIter {
 		public int stamp;
 		public void* user_data;
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 5d0a7ea..5f62bda 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -462,7 +462,7 @@ GtkToolbar.GtkTooltips hidden="1"
 GtkToolbar.gpointer hidden="1"
 gtk_tool_item_toolbar_reconfigured hidden="1"
 GtkToolItem::set_tooltip hidden="1"
-GtkTreeIter is_value_type="1" use_const="0"
+GtkTreeIter is_value_type="1"
 GtkTreeRowReference is_value_type="0" is_immutable="1"
 gtk_tree_row_reference_copy transfer_ownership="1"
 gtk_tree_model_filter_new.root nullable="1"
@@ -497,7 +497,7 @@ gtk_tree_path_new_from_indices sentinel="-1"
 gtk_tree_path_copy transfer_ownership="1"
 # GtkTreePath should be an opaque value type as it is not immutable
 # but should have copy-on-assignment semantics
-GtkTreePath is_value_type="0" is_immutable="1"
+GtkTreePath is_value_type="0" is_immutable="1" const_cname="GtkTreePath"
 gtk_tree_row_reference_reordered.new_order is_array="1"
 gtk_tree_row_reference_get_path transfer_ownership="1"
 gtk_tree_selection_get_selected.iter is_out="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]