From: Evan Nemerson Date: Fri, 2 Apr 2010 20:04:14 +0000 (-0700) Subject: clutter-1.0: add missing type_arguments for several new methods X-Git-Tag: 0.8.1~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3cf09ec9a51263838270cb5f62d5b34cb58f26bb;p=thirdparty%2Fvala.git clutter-1.0: add missing type_arguments for several new methods Partially fixes bug 609875. --- diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi index 52e392de4..d7aa954b9 100644 --- a/vapi/clutter-1.0.vapi +++ b/vapi/clutter-1.0.vapi @@ -324,7 +324,7 @@ namespace Clutter { public Animator (); public bool compute_value (GLib.Object object, string property_name, double progress, GLib.Value value); public uint get_duration (); - public unowned GLib.List get_keys (GLib.Object object, string property_name, double progress); + public GLib.List get_keys (GLib.Object object, string property_name, double progress); public unowned Clutter.Timeline get_timeline (); public bool property_get_ease_in (GLib.Object object, string property_name); public Clutter.Interpolation property_get_interpolation (GLib.Object object, string property_name); @@ -606,9 +606,9 @@ namespace Clutter { public static unowned Clutter.DeviceManager get_default (); public virtual unowned Clutter.InputDevice get_device (int device_id); [NoWrapper] - public virtual unowned GLib.SList get_devices (); - public unowned GLib.SList list_devices (); - public unowned GLib.SList peek_devices (); + public virtual unowned GLib.SList get_devices (); + public GLib.SList list_devices (); + public unowned GLib.SList peek_devices (); [NoWrapper] public virtual void remove_device (Clutter.InputDevice device); [NoAccessorMethod] @@ -870,7 +870,7 @@ namespace Clutter { public void @foreach (Clutter.PathCallback callback); public uint get_n_nodes (); public void get_node (uint index_, Clutter.PathNode node); - public unowned GLib.SList get_nodes (); + public GLib.SList get_nodes (); public uint get_position (double progress, Clutter.Knot position); public void insert_node (int index_, Clutter.PathNode node); public void remove_node (uint index_); @@ -903,7 +903,7 @@ namespace Clutter { public bool get_loop (); public unowned Clutter.Timeline get_timeline (ulong id); public bool is_playing (); - public unowned GLib.SList list_timelines (); + public GLib.SList list_timelines (); public void pause (); public void remove (ulong id); public void remove_all (); @@ -930,7 +930,7 @@ namespace Clutter { public unowned GLib.Object get_object (string name); public int get_objects (...); public virtual GLib.Type get_type_from_name (string type_name); - public unowned GLib.List list_objects (); + public GLib.List list_objects (); public uint load_from_data (string data, ssize_t length) throws GLib.Error; public uint load_from_file (string filename) throws GLib.Error; public unowned string lookup_filename (string filename); diff --git a/vapi/packages/clutter-1.0/clutter-1.0.metadata b/vapi/packages/clutter-1.0/clutter-1.0.metadata index 7bdd7ea96..24ea92af0 100644 --- a/vapi/packages/clutter-1.0/clutter-1.0.metadata +++ b/vapi/packages/clutter-1.0/clutter-1.0.metadata @@ -111,6 +111,8 @@ clutter_animation_set_mode hidden="1" clutter_animation_set_object hidden="1" clutter_animation_set_timeline hidden="1" +clutter_animator_get_keys type_arguments="unowned AnimatorKey" transfer_ownership="1" + ClutterAnyEvent is_value_type="1" clutter_behaviour_actors_foreach.data hidden="1" @@ -205,6 +207,10 @@ clutter_container_sort_depth_order hidden="1" ClutterCrossingEvent is_value_type="1" +clutter_device_manager_list_devices type_arguments="unowned InputDevice" transfer_ownership="1" +clutter_device_manager_peek_devices type_arguments="InputDevice" +clutter_device_manager_get_devices type_arguments="InputDevice" + clutter_event_type name="get_type" ClutterFeatureFlags hidden="1" @@ -281,6 +287,7 @@ clutter_param_spec_units hidden="1" clutter_path_get_description hidden="1" clutter_path_get_length hidden="1" +clutter_path_get_nodes type_arguments="unowned PathNode" transfer_ownership="1" ClutterPathNode is_value_type="1" ClutterPerspective is_value_type="1" @@ -294,6 +301,10 @@ clutter_rectangle_set_color hidden="1" clutter_redraw hidden="1" +clutter_score_list_timelines type_arguments="unowned Timeline" transfer_ownership="1" + +clutter_script_list_objects type_arguments="unowned GLib.Object" transfer_ownership="1" + ClutterScrollEvent is_value_type="1" clutter_shader_get_cogl_fragment_shader hidden="1"