~zeitgeist/plank/zeitgeist

« back to all changes in this revision

Viewing changes to vapi/compat.vapi

  • Committer: Rico Tzschichholz
  • Date: 2015-11-10 08:55:46 UTC
  • Revision ID: ricotz@ubuntu.com-20151110085546-8xb2t89faljiwkfu
services: Don't leak array-container of ObjectClass.list_properties()

ObjectClass.list_properties() transfers the container which needs to be
freed. If valac 0.26 is availble this can be managed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        public void cairo_surface_set_device_scale (Cairo.Surface surface, double x_scale, double y_scale);
27
27
#endif
28
28
 
 
29
#if VALA_0_26
 
30
        [CCode (array_length_type = "guint", cheader_filename = "glib-object.h", cname = "g_object_class_list_properties")]
 
31
        public (unowned GLib.ParamSpec)[] g_object_class_list_properties (GLib.ObjectClass oclass);
 
32
#endif
 
33
 
29
34
        [CCode (cheader_filename = "gdk/gdk.h", cname = "gdk_window_add_filter", instance_pos = 1.9)]
30
35
        public void gdk_window_add_filter (Gdk.Window? window, Gdk.FilterFunc function);
31
36
        [CCode (cheader_filename = "gdk/gdk.h", cname = "gdk_window_add_filter", instance_pos = 1.9)]