summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-11-24 15:47:45 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2016-11-24 15:47:45 +0100
commit37ceb2dae28335c4b1e92c161f6d08debce43322 (patch)
tree7483ff199679f7d2eb1a8388db521e34eed5b3ed
parent38e968db9c0417f3923932a104006768f45805d4 (diff)
downloadvala-37ceb2dae28335c4b1e92c161f6d08debce43322.tar.gz
vapi: Update GIR-based bindings
-rw-r--r--vapi/gstreamer-controller-1.0.vapi7
-rw-r--r--vapi/gstreamer-rtsp-1.0.vapi18
-rw-r--r--vapi/gtk+-4.0.vapi5
-rw-r--r--vapi/webkit2gtk-web-extension-4.0.vapi2
4 files changed, 27 insertions, 5 deletions
diff --git a/vapi/gstreamer-controller-1.0.vapi b/vapi/gstreamer-controller-1.0.vapi
index d3d6c99f8..d9d31d87a 100644
--- a/vapi/gstreamer-controller-1.0.vapi
+++ b/vapi/gstreamer-controller-1.0.vapi
@@ -73,6 +73,13 @@ namespace Gst {
[NoAccessorMethod]
public Gst.Controller.LFOWaveform waveform { get; set; }
}
+ [CCode (cheader_filename = "gst/controller/controller.h", cname = "GstProxyControlBinding", lower_case_cprefix = "gst_proxy_control_binding_", type_id = "gst_proxy_control_binding_get_type ()")]
+ [GIR (name = "ProxyControlBinding")]
+ public class ProxyControlBinding : Gst.ControlBinding {
+ [CCode (has_construct_function = false, type = "GstControlBinding*")]
+ [Version (since = "1.12")]
+ public ProxyControlBinding (Gst.Object object, string property_name, Gst.Object ref_object, string ref_property_name);
+ }
[CCode (cheader_filename = "gst/controller/controller.h", cname = "GstTimedValueControlSource", lower_case_cprefix = "gst_timed_value_control_source_", type_id = "gst_timed_value_control_source_get_type ()")]
[GIR (name = "TimedValueControlSource")]
public abstract class TimedValueControlSource : Gst.ControlSource {
diff --git a/vapi/gstreamer-rtsp-1.0.vapi b/vapi/gstreamer-rtsp-1.0.vapi
index 9275abc5b..90cd1df9e 100644
--- a/vapi/gstreamer-rtsp-1.0.vapi
+++ b/vapi/gstreamer-rtsp-1.0.vapi
@@ -105,6 +105,19 @@ namespace Gst {
public virtual signal Gst.RTSP.Result send (void* req, void* resp);
}
[CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
+ [GIR (name = "RTSPAuthCredential")]
+ public struct AuthCredential {
+ public Gst.RTSP.AuthMethod scheme;
+ public Gst.RTSP.AuthParam @params;
+ public weak string authorization;
+ }
+ [CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
+ [GIR (name = "RTSPAuthParam")]
+ public struct AuthParam {
+ public weak string name;
+ public weak string value;
+ }
+ [CCode (cheader_filename = "gst/rtsp/rtsp.h", has_type_id = false)]
[GIR (name = "RTSPMessage")]
public struct Message {
public Gst.RTSP.MsgType type;
@@ -482,6 +495,8 @@ namespace Gst {
[CCode (cheader_filename = "gst/rtsp/rtsp.h", cname = "GST_RTSP_DEFAULT_PORT")]
public const int _DEFAULT_PORT;
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
+ public static void auth_credentials_free (Gst.RTSP.AuthCredential credentials);
+ [CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static Gst.RTSP.Result connection_accept (GLib.Socket socket, out Gst.RTSP.Connection conn, GLib.Cancellable? cancellable = null);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static Gst.RTSP.Result connection_create (Gst.RTSP.Url url, out Gst.RTSP.Connection conn);
@@ -492,6 +507,9 @@ namespace Gst {
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static Gst.RTSP.Method find_method (string method);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
+ [Version (since = "1.12")]
+ public static string generate_digest_auth_response (string? algorithm, string method, string realm, string username, string password, string uri, string nonce);
+ [CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static bool header_allow_multiple (Gst.RTSP.HeaderField field);
[CCode (cheader_filename = "gst/rtsp/rtsp.h")]
public static unowned string header_as_text (Gst.RTSP.HeaderField field);
diff --git a/vapi/gtk+-4.0.vapi b/vapi/gtk+-4.0.vapi
index e019db692..acce32bba 100644
--- a/vapi/gtk+-4.0.vapi
+++ b/vapi/gtk+-4.0.vapi
@@ -5893,8 +5893,6 @@ namespace Gdk {
[CCode (has_construct_function = false)]
[Version (since = "3.90")]
public Window.popup (Gdk.Display display, int event_mask, Gdk.Rectangle position);
- public static void process_all_updates ();
- public void process_updates (bool update_children);
public void raise ();
public void register_dnd ();
public void remove_filter (Gdk.FilterFunc function);
@@ -17240,9 +17238,6 @@ namespace Gtk {
public static bool bindings_activate_event (GLib.Object object, Gdk.EventKey event);
[CCode (cheader_filename = "gtk/gtk.h")]
[Version (since = "3.0")]
- public static bool cairo_should_draw_window (Cairo.Context cr, Gdk.Window window);
- [CCode (cheader_filename = "gtk/gtk.h")]
- [Version (since = "3.0")]
public static void cairo_transform_to_window (Cairo.Context cr, Gtk.Widget widget, Gdk.Window window);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned string? check_version (uint required_major, uint required_minor, uint required_micro);
diff --git a/vapi/webkit2gtk-web-extension-4.0.vapi b/vapi/webkit2gtk-web-extension-4.0.vapi
index ad59dd149..d8ea4242b 100644
--- a/vapi/webkit2gtk-web-extension-4.0.vapi
+++ b/vapi/webkit2gtk-web-extension-4.0.vapi
@@ -2979,6 +2979,8 @@ namespace WebKit {
[Version (since = "2.8")]
public signal bool context_menu (WebKit.ContextMenu context_menu, WebKit.WebHitTestResult hit_test_result);
public signal void document_loaded ();
+ [Version (since = "2.16")]
+ public signal void form_controls_associated (GLib.GenericArray<WebKit.DOM.Element> elements);
public signal bool send_request (WebKit.URIRequest request, WebKit.URIResponse redirected_response);
}
[CCode (cheader_filename = "webkit2/webkit-web-extension.h", cprefix = "WEBKIT_CONSOLE_MESSAGE_LEVEL_", has_type_id = false)]