Skip to content
This repository was archived by the owner on Aug 27, 2023. It is now read-only.

Commit f6da7d6

Browse files
committed
Regen
1 parent 878a318 commit f6da7d6

File tree

124 files changed

+288
-877
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+288
-877
lines changed

src/auto/console_message.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use ffi;

src/auto/context_menu.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use ContextMenuItem;

src/auto/context_menu_item.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use ContextMenu;

src/auto/dom_attr.rs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMElement;
@@ -147,49 +147,42 @@ impl<O: IsA<DOMAttr> + IsA<glib::object::Object>> DOMAttrExt for O {
147147

148148
unsafe extern "C" fn notify_local_name_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
149149
where P: IsA<DOMAttr> {
150-
callback_guard!();
151150
let f: &&(Fn(&P) + 'static) = transmute(f);
152151
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
153152
}
154153

155154
unsafe extern "C" fn notify_name_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
156155
where P: IsA<DOMAttr> {
157-
callback_guard!();
158156
let f: &&(Fn(&P) + 'static) = transmute(f);
159157
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
160158
}
161159

162160
unsafe extern "C" fn notify_namespace_uri_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
163161
where P: IsA<DOMAttr> {
164-
callback_guard!();
165162
let f: &&(Fn(&P) + 'static) = transmute(f);
166163
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
167164
}
168165

169166
unsafe extern "C" fn notify_owner_element_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
170167
where P: IsA<DOMAttr> {
171-
callback_guard!();
172168
let f: &&(Fn(&P) + 'static) = transmute(f);
173169
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
174170
}
175171

176172
unsafe extern "C" fn notify_prefix_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
177173
where P: IsA<DOMAttr> {
178-
callback_guard!();
179174
let f: &&(Fn(&P) + 'static) = transmute(f);
180175
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
181176
}
182177

183178
unsafe extern "C" fn notify_specified_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
184179
where P: IsA<DOMAttr> {
185-
callback_guard!();
186180
let f: &&(Fn(&P) + 'static) = transmute(f);
187181
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
188182
}
189183

190184
unsafe extern "C" fn notify_value_trampoline<P>(this: *mut ffi::WebKitDOMAttr, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
191185
where P: IsA<DOMAttr> {
192-
callback_guard!();
193186
let f: &&(Fn(&P) + 'static) = transmute(f);
194187
f(&DOMAttr::from_glib_borrow(this).downcast_unchecked())
195188
}

src/auto/dom_blob.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMObject;
@@ -49,7 +49,6 @@ impl<O: IsA<DOMBlob> + IsA<glib::object::Object>> DOMBlobExt for O {
4949

5050
unsafe extern "C" fn notify_size_trampoline<P>(this: *mut ffi::WebKitDOMBlob, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
5151
where P: IsA<DOMBlob> {
52-
callback_guard!();
5352
let f: &&(Fn(&P) + 'static) = transmute(f);
5453
f(&DOMBlob::from_glib_borrow(this).downcast_unchecked())
5554
}

src/auto/dom_cdata_section.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMCharacterData;

src/auto/dom_character_data.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMEventTarget;
@@ -131,14 +131,12 @@ impl<O: IsA<DOMCharacterData> + IsA<glib::object::Object>> DOMCharacterDataExt f
131131

132132
unsafe extern "C" fn notify_data_trampoline<P>(this: *mut ffi::WebKitDOMCharacterData, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
133133
where P: IsA<DOMCharacterData> {
134-
callback_guard!();
135134
let f: &&(Fn(&P) + 'static) = transmute(f);
136135
f(&DOMCharacterData::from_glib_borrow(this).downcast_unchecked())
137136
}
138137

139138
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMCharacterData, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
140139
where P: IsA<DOMCharacterData> {
141-
callback_guard!();
142140
let f: &&(Fn(&P) + 'static) = transmute(f);
143141
f(&DOMCharacterData::from_glib_borrow(this).downcast_unchecked())
144142
}

src/auto/dom_client_rect.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMObject;
@@ -213,42 +213,36 @@ impl<O: IsA<DOMClientRect> + IsA<glib::object::Object>> DOMClientRectExt for O {
213213

214214
unsafe extern "C" fn notify_bottom_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
215215
where P: IsA<DOMClientRect> {
216-
callback_guard!();
217216
let f: &&(Fn(&P) + 'static) = transmute(f);
218217
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
219218
}
220219

221220
unsafe extern "C" fn notify_height_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
222221
where P: IsA<DOMClientRect> {
223-
callback_guard!();
224222
let f: &&(Fn(&P) + 'static) = transmute(f);
225223
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
226224
}
227225

228226
unsafe extern "C" fn notify_left_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
229227
where P: IsA<DOMClientRect> {
230-
callback_guard!();
231228
let f: &&(Fn(&P) + 'static) = transmute(f);
232229
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
233230
}
234231

235232
unsafe extern "C" fn notify_right_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
236233
where P: IsA<DOMClientRect> {
237-
callback_guard!();
238234
let f: &&(Fn(&P) + 'static) = transmute(f);
239235
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
240236
}
241237

242238
unsafe extern "C" fn notify_top_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
243239
where P: IsA<DOMClientRect> {
244-
callback_guard!();
245240
let f: &&(Fn(&P) + 'static) = transmute(f);
246241
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
247242
}
248243

249244
unsafe extern "C" fn notify_width_trampoline<P>(this: *mut ffi::WebKitDOMClientRect, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
250245
where P: IsA<DOMClientRect> {
251-
callback_guard!();
252246
let f: &&(Fn(&P) + 'static) = transmute(f);
253247
f(&DOMClientRect::from_glib_borrow(this).downcast_unchecked())
254248
}

src/auto/dom_client_rect_list.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
#[cfg(any(feature = "v2_18", feature = "dox"))]
@@ -53,7 +53,7 @@ impl<O: IsA<DOMClientRectList> + IsA<glib::object::Object>> DOMClientRectListExt
5353
#[cfg(any(feature = "v2_18", feature = "dox"))]
5454
fn item(&self, index: libc::c_ulong) -> Option<DOMClientRect> {
5555
unsafe {
56-
from_glib_none(ffi::webkit_dom_client_rect_list_item(self.to_glib_none().0, index))
56+
from_glib_full(ffi::webkit_dom_client_rect_list_item(self.to_glib_none().0, index))
5757
}
5858
}
5959

@@ -76,7 +76,6 @@ impl<O: IsA<DOMClientRectList> + IsA<glib::object::Object>> DOMClientRectListExt
7676

7777
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMClientRectList, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
7878
where P: IsA<DOMClientRectList> {
79-
callback_guard!();
8079
let f: &&(Fn(&P) + 'static) = transmute(f);
8180
f(&DOMClientRectList::from_glib_borrow(this).downcast_unchecked())
8281
}

src/auto/dom_comment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMCharacterData;

src/auto/dom_css_rule.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMCSSStyleSheet;
@@ -128,28 +128,24 @@ impl<O: IsA<DOMCSSRule> + IsA<glib::object::Object>> DOMCSSRuleExt for O {
128128

129129
unsafe extern "C" fn notify_css_text_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
130130
where P: IsA<DOMCSSRule> {
131-
callback_guard!();
132131
let f: &&(Fn(&P) + 'static) = transmute(f);
133132
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
134133
}
135134

136135
unsafe extern "C" fn notify_parent_rule_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
137136
where P: IsA<DOMCSSRule> {
138-
callback_guard!();
139137
let f: &&(Fn(&P) + 'static) = transmute(f);
140138
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
141139
}
142140

143141
unsafe extern "C" fn notify_parent_style_sheet_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
144142
where P: IsA<DOMCSSRule> {
145-
callback_guard!();
146143
let f: &&(Fn(&P) + 'static) = transmute(f);
147144
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
148145
}
149146

150147
unsafe extern "C" fn notify_type_trampoline<P>(this: *mut ffi::WebKitDOMCSSRule, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
151148
where P: IsA<DOMCSSRule> {
152-
callback_guard!();
153149
let f: &&(Fn(&P) + 'static) = transmute(f);
154150
f(&DOMCSSRule::from_glib_borrow(this).downcast_unchecked())
155151
}

src/auto/dom_css_rule_list.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMCSSRule;
@@ -59,7 +59,6 @@ impl<O: IsA<DOMCSSRuleList> + IsA<glib::object::Object>> DOMCSSRuleListExt for O
5959

6060
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMCSSRuleList, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
6161
where P: IsA<DOMCSSRuleList> {
62-
callback_guard!();
6362
let f: &&(Fn(&P) + 'static) = transmute(f);
6463
f(&DOMCSSRuleList::from_glib_borrow(this).downcast_unchecked())
6564
}

src/auto/dom_css_style_declaration.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMCSSRule;
@@ -158,21 +158,18 @@ impl<O: IsA<DOMCSSStyleDeclaration> + IsA<glib::object::Object>> DOMCSSStyleDecl
158158

159159
unsafe extern "C" fn notify_css_text_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleDeclaration, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
160160
where P: IsA<DOMCSSStyleDeclaration> {
161-
callback_guard!();
162161
let f: &&(Fn(&P) + 'static) = transmute(f);
163162
f(&DOMCSSStyleDeclaration::from_glib_borrow(this).downcast_unchecked())
164163
}
165164

166165
unsafe extern "C" fn notify_length_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleDeclaration, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
167166
where P: IsA<DOMCSSStyleDeclaration> {
168-
callback_guard!();
169167
let f: &&(Fn(&P) + 'static) = transmute(f);
170168
f(&DOMCSSStyleDeclaration::from_glib_borrow(this).downcast_unchecked())
171169
}
172170

173171
unsafe extern "C" fn notify_parent_rule_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleDeclaration, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
174172
where P: IsA<DOMCSSStyleDeclaration> {
175-
callback_guard!();
176173
let f: &&(Fn(&P) + 'static) = transmute(f);
177174
f(&DOMCSSStyleDeclaration::from_glib_borrow(this).downcast_unchecked())
178175
}

src/auto/dom_css_style_sheet.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMCSSRule;
@@ -130,21 +130,18 @@ impl<O: IsA<DOMCSSStyleSheet> + IsA<glib::object::Object>> DOMCSSStyleSheetExt f
130130

131131
unsafe extern "C" fn notify_css_rules_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleSheet, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
132132
where P: IsA<DOMCSSStyleSheet> {
133-
callback_guard!();
134133
let f: &&(Fn(&P) + 'static) = transmute(f);
135134
f(&DOMCSSStyleSheet::from_glib_borrow(this).downcast_unchecked())
136135
}
137136

138137
unsafe extern "C" fn notify_owner_rule_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleSheet, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
139138
where P: IsA<DOMCSSStyleSheet> {
140-
callback_guard!();
141139
let f: &&(Fn(&P) + 'static) = transmute(f);
142140
f(&DOMCSSStyleSheet::from_glib_borrow(this).downcast_unchecked())
143141
}
144142

145143
unsafe extern "C" fn notify_rules_trampoline<P>(this: *mut ffi::WebKitDOMCSSStyleSheet, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
146144
where P: IsA<DOMCSSStyleSheet> {
147-
callback_guard!();
148145
let f: &&(Fn(&P) + 'static) = transmute(f);
149146
f(&DOMCSSStyleSheet::from_glib_borrow(this).downcast_unchecked())
150147
}

src/auto/dom_css_value.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// This file was generated by gir (https://github.com/gtk-rs/gir @ 6855214)
2-
// from gir-files (https://github.com/gtk-rs/gir-files @ 3fde76b)
1+
// This file was generated by gir (https://github.com/gtk-rs/gir)
2+
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

55
use DOMObject;
@@ -79,14 +79,12 @@ impl<O: IsA<DOMCSSValue> + IsA<glib::object::Object>> DOMCSSValueExt for O {
7979

8080
unsafe extern "C" fn notify_css_text_trampoline<P>(this: *mut ffi::WebKitDOMCSSValue, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
8181
where P: IsA<DOMCSSValue> {
82-
callback_guard!();
8382
let f: &&(Fn(&P) + 'static) = transmute(f);
8483
f(&DOMCSSValue::from_glib_borrow(this).downcast_unchecked())
8584
}
8685

8786
unsafe extern "C" fn notify_css_value_type_trampoline<P>(this: *mut ffi::WebKitDOMCSSValue, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer)
8887
where P: IsA<DOMCSSValue> {
89-
callback_guard!();
9088
let f: &&(Fn(&P) + 'static) = transmute(f);
9189
f(&DOMCSSValue::from_glib_borrow(this).downcast_unchecked())
9290
}

0 commit comments

Comments
 (0)