[libsoup/wip/ricotz/issue129] vapi: Fix Message.add_*_handler() by unhiding user_data parameter
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/ricotz/issue129] vapi: Fix Message.add_*_handler() by unhiding user_data parameter
- Date: Sat, 12 Jan 2019 18:49:57 +0000 (UTC)
commit dbe8ed415b3b38f4ed281b6a2af1d5e9f47ced24
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Jan 12 10:11:16 2019 +0100
vapi: Fix Message.add_*_handler() by unhiding user_data parameter
GLib.Callback doesn't have a target/data parameter and therefore vala
doesn't create this usual implicit parameter.
Basically g-i shouldn't add a closure attribute for GObject.Callback
parameters.
Fixes https://gitlab.gnome.org/GNOME/libsoup/issues/129
libsoup/Soup-2.4.metadata | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/libsoup/Soup-2.4.metadata b/libsoup/Soup-2.4.metadata
index c0056ec8..da659564 100644
--- a/libsoup/Soup-2.4.metadata
+++ b/libsoup/Soup-2.4.metadata
@@ -27,7 +27,9 @@ ContentSniffer.sniff.params nullable
form_* skip=false
Message
.add_header_handler skip=false
+ .add_header_handler.callback closure=-1
.add_status_code_handler skip=false
+ .add_status_code_handler.callback closure=-1
.request_*#property skip
.response_*#property skip
.set_request.req_body type="uint8[]" array_length_idx=3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]