[vala] hildon-1: Mark delegate arguments owned and hide DestroyNotify args



commit c9f2ee5a946395333964976d11f940a91b130076
Author: Frederik Zipp <fzipp gmx de>
Date:   Wed Aug 4 11:50:34 2010 -0700

    hildon-1: Mark delegate arguments owned and hide DestroyNotify args
    
    Fixes bug 625010.

 vapi/hildon-1.vapi                       |    4 ++--
 vapi/packages/hildon-1/hildon-1.metadata |    5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/vapi/hildon-1.vapi b/vapi/hildon-1.vapi
index a39a070..f9cfd20 100644
--- a/vapi/hildon-1.vapi
+++ b/vapi/hildon-1.vapi
@@ -806,7 +806,7 @@ namespace Hildon {
 		public bool set_hildon_ui_mode (Hildon.UIMode mode);
 		public virtual void set_model (int column, Gtk.TreeModel model);
 		public void set_print_func (Hildon.TouchSelectorPrintFunc func);
-		public void set_print_func_full (Hildon.TouchSelectorPrintFunc func, GLib.DestroyNotify destroy_func);
+		public void set_print_func_full (owned Hildon.TouchSelectorPrintFunc func);
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public TouchSelector.text ();
 		public void unselect_all (int column);
@@ -924,7 +924,7 @@ namespace Hildon {
 	public class WizardDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
 		public WizardDialog (Gtk.Window parent, string wizard_name, Gtk.Notebook notebook);
-		public void set_forward_page_func (Hildon.WizardDialogPageFunc page_func, void* data, GLib.DestroyNotify destroy);
+		public void set_forward_page_func (owned Hildon.WizardDialogPageFunc page_func);
 		[NoAccessorMethod]
 		public bool autotitle { get; set; }
 		[NoAccessorMethod]
diff --git a/vapi/packages/hildon-1/hildon-1.metadata b/vapi/packages/hildon-1/hildon-1.metadata
index 913d5b5..c5f7ba0 100644
--- a/vapi/packages/hildon-1/hildon-1.metadata
+++ b/vapi/packages/hildon-1/hildon-1.metadata
@@ -7,4 +7,9 @@ hildon_color_chooser_dialog_get_color.color is_out="1"
 hildon_find_toolbar_get_active_iter.iter is_out="1"
 hildon_gtk_init.argc hidden="1"
 hildon_gtk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
+hildon_touch_selector_set_print_func_full.func value_owned="1"
+hildon_touch_selector_set_print_func_full.destroy_func hidden="1"
+hildon_wizard_dialog_set_forward_page_func.data hidden="1"
+hildon_wizard_dialog_set_forward_page_func.destroy hidden="1"
+hildon_wizard_dialog_set_forward_page_func.page_func value_owned="1"
 



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