From: Jürg Billeter Date: Sun, 27 Sep 2009 14:49:56 +0000 (+0200) Subject: gtk+-2.0: Do not use const with GtkTreePath X-Git-Tag: 0.7.7~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b226b16d9f472d9ad93cbb6f292be2dbe477fd9;p=thirdparty%2Fvala.git gtk+-2.0: Do not use const with GtkTreePath Fixes bug 593567. --- diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi index 8d660e81e..d8d158f71 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 5d0a7eafb..5f62bda5d 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"