[vala] Make add_tick_callback callback owned



commit 0d6f3a6d4d7e9b0842da129a4c62eae25556d53f
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date:   Fri Aug 2 13:31:56 2013 +0200

    Make add_tick_callback callback owned

 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index bacccd2..6ab9eaf 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -6022,7 +6022,7 @@ namespace Gtk {
                public void add_device_events (Gdk.Device device, Gdk.EventMask events);
                public void add_events (int events);
                public void add_mnemonic_label (Gtk.Widget label);
-               public uint add_tick_callback (Gtk.TickCallback callback, GLib.DestroyNotify notify);
+               public uint add_tick_callback (owned Gtk.TickCallback callback);
                [NoWrapper]
                public virtual void adjust_baseline_allocation (int baseline);
                [NoWrapper]
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index d74f267..f8fadee 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -1102,6 +1102,8 @@ GtkVScale deprecated_since="3.2" replacement="Scale"
 gtk_vscale_new.adjustment nullable="1"
 GtkVScrollbar deprecated_since="3.2" replacement="Scrollbar"
 gtk_vscrollbar_new.adjustment nullable="1"
+gtk_widget_add_tick_callback.callback transfer_ownership="1"
+gtk_widget_add_tick_callback.notify hidden="1"
 gtk_widget_adjust_size_allocation.minimum_size is_ref="1"
 gtk_widget_adjust_size_allocation.natural_size is_ref="1"
 gtk_widget_adjust_size_allocation.allocated_pos is_ref="1"


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