]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 9 May 2015 14:45:11 +0000 (16:45 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 9 May 2015 14:45:11 +0000 (16:45 +0200)
vapi/libgdata.vapi
vapi/metadata/Gdk-3.0-custom.vala
vapi/metadata/Gdk-3.0.metadata
vapi/pango.vapi
vapi/webkit2gtk-web-extension-4.0.vapi

index dc12275d1b8e53dc19ba0eb04fa4abbc90f518e4..ff39ff634ad110c1565083a604b512270e610a6f 100644 (file)
@@ -155,7 +155,9 @@ namespace GData {
                public CalendarCalendar (string? id);
                public unowned string get_access_level ();
                public GData.Color get_color ();
+               [Deprecated]
                public int64 get_edited ();
+               [Deprecated]
                public uint get_times_cleaned ();
                public unowned string get_timezone ();
                public void set_color (GData.Color color);
@@ -164,11 +166,13 @@ namespace GData {
                public void set_timezone (string? _timezone);
                public string access_level { get; }
                public GData.Color color { get; set; }
+               [Deprecated]
                public int64 edited { get; }
                [NoAccessorMethod]
                public bool is_hidden { get; set; }
                [NoAccessorMethod]
                public bool is_selected { get; set; }
+               [Deprecated]
                public uint times_cleaned { get; }
                public string timezone { get; set; }
        }
@@ -226,9 +230,13 @@ namespace GData {
        public class CalendarFeed : GData.Feed {
                [CCode (has_construct_function = false)]
                protected CalendarFeed ();
+               [Deprecated]
                public uint get_times_cleaned ();
+               [Deprecated]
                public unowned string get_timezone ();
+               [Deprecated]
                public uint times_cleaned { get; }
+               [Deprecated]
                public string timezone { get; }
        }
        [CCode (cheader_filename = "gdata/gdata.h", type_id = "gdata_calendar_query_get_type ()")]
@@ -276,7 +284,11 @@ namespace GData {
                [CCode (has_construct_function = false)]
                public CalendarService (GData.Authorizer? authorizer);
                public static unowned GData.AuthorizationDomain get_primary_authorization_domain ();
+               public GData.CalendarEvent insert_calendar_event (GData.CalendarCalendar calendar, GData.CalendarEvent event, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async void insert_calendar_event_async (GData.CalendarCalendar calendar, GData.CalendarEvent event, GLib.Cancellable? cancellable);
+               [Deprecated]
                public GData.CalendarEvent insert_event (GData.CalendarEvent event, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               [Deprecated]
                public async void insert_event_async (GData.CalendarEvent event, GLib.Cancellable? cancellable);
                public GData.Feed query_all_calendars (GData.Query? query, GLib.Cancellable? cancellable, GData.QueryProgressCallback? progress_callback) throws GLib.Error;
                public async void query_all_calendars_async (GData.Query? query, GLib.Cancellable? cancellable, owned GData.QueryProgressCallback? progress_callback);
@@ -1852,10 +1864,10 @@ namespace GData {
                public unowned string get_message ();
                public unowned string get_name ();
                public unowned string get_reason_code ();
-               public string help_uri { get; }
-               public string message { get; }
-               public string name { get; }
-               public string reason_code { get; }
+               public string help_uri { get; construct; }
+               public string message { get; construct; }
+               public string name { get; construct; }
+               public string reason_code { get; construct; }
        }
        [CCode (cheader_filename = "gdata/gdata.h", lower_case_csuffix = "youtube_video", type_id = "gdata_youtube_video_get_type ()")]
        public class YouTubeVideo : GData.Entry, GData.Commentable {
index 7d578904482f6a5d6eacb76a2e79108608a4e59d..a0391a710e56ec9ab5cfb504997a764fee52c040 100644 (file)
@@ -44,6 +44,7 @@ namespace Gdk {
                public string str;
        }
 
+       [CCode (cheader_filename = "gdk/gdk.h")]
        public struct Rectangle : Cairo.RectangleInt {
                public bool intersect (Gdk.Rectangle src2, out Gdk.Rectangle dest);
                public void union (Gdk.Rectangle src2, out Gdk.Rectangle dest);
index 468836af9ffe2703f7e12eb5f8d1361d30bb6acc..e933e0c9bc8147d5fdda132bb0739856dab4d3ee 100644 (file)
@@ -39,6 +39,9 @@ Device
         .associated_device nullable
         .name nullable
 
+// https://bugzilla.gnome.org/show_bug.cgi?id=748833
+Rectangle skip
+
 // vapigen actually generates the correctly, but in away that breaks BC
 Screen.get_monitor_geometry skip
 Window.get_frame_extents skip
index f3c2bca995098acb27f8a810d879a793cf20ad8a..60c0bd57fdbdb6683a553800f33e27a0d9007246 100644 (file)
@@ -265,15 +265,6 @@ namespace Pango {
        [CCode (cheader_filename = "pango/pango.h", ref_function = "pango_font_metrics_ref", type_id = "pango_font_metrics_get_type ()", unref_function = "pango_font_metrics_unref")]
        [Compact]
        public class FontMetrics {
-               public int approximate_char_width;
-               public int approximate_digit_width;
-               public int ascent;
-               public int descent;
-               public uint ref_count;
-               public int strikethrough_position;
-               public int strikethrough_thickness;
-               public int underline_position;
-               public int underline_thickness;
                [CCode (has_construct_function = false)]
                public FontMetrics ();
                public int get_approximate_char_width ();
@@ -639,6 +630,7 @@ namespace Pango {
                public Pango.Matrix? copy ();
                public void free ();
                public double get_font_scale_factor ();
+               public void get_font_scale_factors (out double xscale, out double yscale);
                public void rotate (double degrees);
                public void scale (double scale_x, double scale_y);
                public void transform_distance (ref double dx, ref double dy);
index 04960832a64a63a9b4de3974563af18d7913ef8b..061c816e02ec6239681f1f7ec6b3d4c3f41d656a 100644 (file)
@@ -172,6 +172,8 @@ namespace WebKit {
                        [NoAccessorMethod]
                        public WebKit.DOM.DOMWindow opener { owned get; }
                        [NoAccessorMethod]
+                       public long orientation { get; }
+                       [NoAccessorMethod]
                        public long outer_height { get; }
                        [NoAccessorMethod]
                        public long outer_width { get; }
@@ -242,7 +244,7 @@ namespace WebKit {
                        public string get_document_uri ();
                        public string get_domain ();
                        public unowned WebKit.DOM.Element get_element_by_id (string elementId);
-                       public WebKit.DOM.NodeList get_elements_by_class_name (string tagname);
+                       public WebKit.DOM.NodeList get_elements_by_class_name (string classNames);
                        public WebKit.DOM.NodeList get_elements_by_name (string elementName);
                        public WebKit.DOM.NodeList get_elements_by_tag_name (string tagname);
                        public WebKit.DOM.NodeList get_elements_by_tag_name_ns (string namespaceURI, string localName);
@@ -2100,6 +2102,8 @@ namespace WebKit {
                        public long client_x { get; }
                        public long client_y { get; }
                        public bool ctrl_key { get; }
+                       [NoAccessorMethod]
+                       public double force { get; }
                        public WebKit.DOM.Node from_element { get; }
                        public bool meta_key { get; }
                        [NoAccessorMethod]