From: Jürg Billeter Date: Sun, 11 Jan 2009 12:56:10 +0000 (+0000) Subject: Fix GstMessage ownership in gst_bus_* bindings, patch by Sebastian X-Git-Tag: VALA_0_5_6~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7775cf91ee99ad91a4ab7c35d1990167aebaa107;p=thirdparty%2Fvala.git Fix GstMessage ownership in gst_bus_* bindings, patch by Sebastian 2009-01-11 Jürg Billeter * vapi/packages/gstreamer-0.10/: Fix GstMessage ownership in gst_bus_* bindings, patch by Sebastian Pölsterl * vapi/gstreamer-0.10.vapi: regenerated svn path=/trunk/; revision=2330 --- diff --git a/ChangeLog b/ChangeLog index 54e3fd2b3..6acd889fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-01-11 Jürg Billeter + + * vapi/packages/gstreamer-0.10/: + + Fix GstMessage ownership in gst_bus_* bindings, + patch by Sebastian Pölsterl + + * vapi/gstreamer-0.10.vapi: regenerated + 2009-01-11 Jürg Billeter * vala/valamemberaccess.vala: diff --git a/vapi/gstreamer-0.10.vapi b/vapi/gstreamer-0.10.vapi index 6c97571da..a1ec46311 100644 --- a/vapi/gstreamer-0.10.vapi +++ b/vapi/gstreamer-0.10.vapi @@ -117,18 +117,18 @@ namespace Gst { public bool have_pending (); [CCode (has_construct_function = false)] public Bus (); - public unowned Gst.Message peek (); - public unowned Gst.Message poll (Gst.MessageType events, Gst.ClockTimeDiff timeout); - public unowned Gst.Message pop (); - public unowned Gst.Message pop_filtered (Gst.MessageType types); + public Gst.Message peek (); + public Gst.Message poll (Gst.MessageType events, Gst.ClockTimeDiff timeout); + public Gst.Message pop (); + public Gst.Message pop_filtered (Gst.MessageType types); public bool post (Gst.Message message); public void remove_signal_watch (); public void set_flushing (bool flushing); public void set_sync_handler (Gst.BusSyncHandler func); [CCode (instance_pos = -1)] public Gst.BusSyncReply sync_signal_handler (Gst.Bus bus, Gst.Message message); - public unowned Gst.Message timed_pop (Gst.ClockTime timeout); - public unowned Gst.Message timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types); + public Gst.Message timed_pop (Gst.ClockTime timeout); + public Gst.Message timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types); public virtual signal void message (Gst.Message message); public virtual signal void sync_message (Gst.Message message); } diff --git a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata index 8c8935c52..f6bed8834 100644 --- a/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata +++ b/vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata @@ -24,6 +24,12 @@ gst_bus_add_watch_full.func value_owned="1" gst_bus_add_watch_full.notify hidden="1" gst_bus_set_sync_handler.data hidden="1" gst_bus_sync_signal_handler hidden="1" +gst_bus_peek transfer_ownership="1" +gst_bus_poll transfer_ownership="1" +gst_bus_pop transfer_ownership="1" +gst_bus_pop_filtered transfer_ownership="1" +gst_bus_timed_pop transfer_ownership="1" +gst_bus_timed_pop_filtered transfer_ownership="1" gst_caps_new_simple ellipsis="1" gst_caps_new_full ellipsis="1" gst_caps_set_simple ellipsis="1"