]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
clutter-1.0: add missing type_arguments for several new methods
authorEvan Nemerson <evan@coeus-group.com>
Fri, 2 Apr 2010 20:04:14 +0000 (13:04 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 2 Apr 2010 20:04:14 +0000 (13:04 -0700)
Partially fixes bug 609875.

vapi/clutter-1.0.vapi
vapi/packages/clutter-1.0/clutter-1.0.metadata

index 52e392de44eeccceb2cf03ee4b8dfb16594244cd..d7aa954b920eeccb02d5ba6e25f582f7cf7cd5d1 100644 (file)
@@ -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<weak Clutter.AnimatorKey> 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<Clutter.InputDevice> get_devices ();
+               public GLib.SList<weak Clutter.InputDevice> list_devices ();
+               public unowned GLib.SList<Clutter.InputDevice> 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<weak Clutter.PathNode> 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<weak Clutter.Timeline> 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<weak GLib.Object> 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);
index 7bdd7ea968f1093aa54950ff71f9ce8059fd57cf..24ea92af0094f92fc7afb797be687aa6354d9ebc 100644 (file)
@@ -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"