]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Do not use const with GtkTreePath
authorJürg Billeter <j@bitron.ch>
Sun, 27 Sep 2009 14:49:56 +0000 (16:49 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 27 Sep 2009 14:49:56 +0000 (16:49 +0200)
Fixes bug 593567.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 8d660e81e8d31610a238c25be9c44a9859a1850b..d8d158f71c5cadf39752e6d4e39884ec692a66c3 100644 (file)
@@ -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;
index 5d0a7eafb9ed37cce3c9dfe3e1496b2d10f56613..5f62bda5d34742f3c774469933734788ef814ccd 100644 (file)
@@ -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"