]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0, gtk+-3.0: Fix IconView.get_visible_range
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 19 Mar 2013 23:17:51 +0000 (23:17 +0000)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 19 Mar 2013 23:18:41 +0000 (23:18 +0000)
Based on patch by shuerhaaken.

Fixes bug 695833.

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

index 9920cb341d663668372a80a8a2c1af84931e5c51..dd3d2b9b908a125618bb569c11103cce89de09a7 100644 (file)
@@ -2132,7 +2132,7 @@ namespace Gtk {
                public int get_text_column ();
                public int get_tooltip_column ();
                public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out unowned Gtk.TreePath path, out Gtk.TreeIter iter);
-               public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
+               public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
                public bool path_is_selected (Gtk.TreePath path);
                public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
                public void select_path (Gtk.TreePath path);
index 2897f565c44b6187b2f863d04c56014be4f39846..2db48cf8e0a8d2de8d9b7983790356a942d64433 100644 (file)
@@ -2425,7 +2425,7 @@ namespace Gtk {
                public int get_text_column ();
                public int get_tooltip_column ();
                public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out unowned Gtk.TreeModel model, out unowned Gtk.TreePath path, out Gtk.TreeIter iter);
-               public bool get_visible_range (out unowned Gtk.TreePath start_path, out unowned Gtk.TreePath end_path);
+               public bool get_visible_range (out Gtk.TreePath start_path, out Gtk.TreePath end_path);
                public bool path_is_selected (Gtk.TreePath path);
                public void scroll_to_path (Gtk.TreePath path, bool use_align, float row_align, float col_align);
                public void select_path (Gtk.TreePath path);
index dadc6e48f70a2a7cde6a9cc4937281a0f4d69154..548677b0bec712d25a8007c4678896c9d44eee93 100644 (file)
@@ -241,6 +241,8 @@ gtk_icon_info_copy transfer_ownership="1"
 gtk_icon_info_get_embedded_rect.rectangle is_out="1"
 gtk_icon_info_load_icon transfer_ownership="1"
 gtk_icon_view_get_cursor.path transfer_ownership="1"
+gtk_icon_view_get_visible_range.start_path is_out="1" transfer_ownership="1"
+gtk_icon_view_get_visible_range.end_path is_out="1" transfer_ownership="1"
 gtk_icon_view_get_tooltip_context.iter is_out="1"
 gtk_icon_view_get_tooltip_context.x is_out="1"
 gtk_icon_view_get_tooltip_context.y is_out="1"
index 35a0389b7f4bffb97d68fdd2b67d4cea45440a27..2f78fd5d841147b7f81f471cfd4c4972a1c245f7 100644 (file)
@@ -346,6 +346,8 @@ gtk_icon_view_get_tooltip_context.y is_out="1"
 gtk_icon_view_get_selected_items transfer_ownership="1" type_arguments="TreePath"
 gtk_icon_view_get_cell_rect.cell nullable="1"
 gtk_icon_view_get_cell_rect.rect is_out="1"
+gtk_icon_view_get_visible_range.start_path is_out="1" transfer_ownership="1"
+gtk_icon_view_get_visible_range.end_path is_out="1" transfer_ownership="1"
 gtk_icon_set_copy transfer_ownership="1"
 gtk_icon_set_render_icon deprecated_since="3.0" replacement="set_render_icon_pixbuf"
 gtk_icon_source_copy transfer_ownership="1"