pyges: override ges_track_get_timeline

This make the bindings compiling without warning
This commit is contained in:
Thibault Saunier 2011-04-27 08:56:29 -03:00 committed by Thibault Saunier
parent f9b9ec6204
commit 20db3b7e78

View file

@ -29,3 +29,17 @@ import gobject.MainContext as PyGMainContext_Type
import gobject.GObject as PyGInitiallyUnowned_Type
import gst.Bin as PyGstBin_Type
import gst.Pipeline as PyGstPipeline_Type
%%
override ges_track_get_timeline kwargs
static PyObject *
_wrap_ges_track_get_timeline(PyGObject *self)
{
const GESTimeline *ret;
pyg_begin_allow_threads;
ret = ges_track_get_timeline(GES_TRACK(self->obj));
pyg_end_allow_threads;
/* pygobject_new handles NULL checking */
return pygobject_new((GObject *)ret);
}