Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 245795b

Browse files
authored
Merge pull request #157 from sdroege/gir-update
Update gir
2 parents 383869d + d0a1e2d commit 245795b

File tree

142 files changed

+391
-943
lines changed

Some content is hidden

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

142 files changed

+391
-943
lines changed

Diff for: .github/workflows/CI.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- stable
1717
- beta
1818
- nightly
19-
- "1.40.0"
19+
- "1.48.0"
2020
steps:
2121
- run: apt-get update -y
2222
- run: apt-get install -y libgtk-3-dev libglib2.0-dev libgraphene-1.0-dev git xvfb curl libcairo-gobject2 libcairo2-dev

Diff for: atk/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: atk/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gdk-pixbuf/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gdk-pixbuf/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gdk/src/auto/enums.rs

-6
Original file line numberDiff line numberDiff line change
@@ -1254,10 +1254,8 @@ impl fmt::Display for EventType {
12541254
EventType::TouchEnd => "TouchEnd",
12551255
EventType::TouchCancel => "TouchCancel",
12561256
#[cfg(any(feature = "v3_18", feature = "dox"))]
1257-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_18")))]
12581257
EventType::TouchpadSwipe => "TouchpadSwipe",
12591258
#[cfg(any(feature = "v3_18", feature = "dox"))]
1260-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_18")))]
12611259
EventType::TouchpadPinch => "TouchpadPinch",
12621260
EventType::PadButtonPress => "PadButtonPress",
12631261
EventType::PadButtonRelease => "PadButtonRelease",
@@ -1318,10 +1316,8 @@ impl ToGlib for EventType {
13181316
EventType::TouchEnd => gdk_sys::GDK_TOUCH_END,
13191317
EventType::TouchCancel => gdk_sys::GDK_TOUCH_CANCEL,
13201318
#[cfg(any(feature = "v3_18", feature = "dox"))]
1321-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_18")))]
13221319
EventType::TouchpadSwipe => gdk_sys::GDK_TOUCHPAD_SWIPE,
13231320
#[cfg(any(feature = "v3_18", feature = "dox"))]
1324-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_18")))]
13251321
EventType::TouchpadPinch => gdk_sys::GDK_TOUCHPAD_PINCH,
13261322
EventType::PadButtonPress => gdk_sys::GDK_PAD_BUTTON_PRESS,
13271323
EventType::PadButtonRelease => gdk_sys::GDK_PAD_BUTTON_RELEASE,
@@ -1380,10 +1376,8 @@ impl FromGlib<gdk_sys::GdkEventType> for EventType {
13801376
39 => EventType::TouchEnd,
13811377
40 => EventType::TouchCancel,
13821378
#[cfg(any(feature = "v3_18", feature = "dox"))]
1383-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_18")))]
13841379
41 => EventType::TouchpadSwipe,
13851380
#[cfg(any(feature = "v3_18", feature = "dox"))]
1386-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_18")))]
13871381
42 => EventType::TouchpadPinch,
13881382
43 => EventType::PadButtonPress,
13891383
44 => EventType::PadButtonRelease,

Diff for: gdk/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gdk/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gdkx11/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gdkx11/src/auto/x11_device_xi2.rs

+6-15
Original file line numberDiff line numberDiff line change
@@ -84,25 +84,16 @@ impl X11DeviceXI2Builder {
8484
properties.push(("name", name));
8585
}
8686
#[cfg(any(feature = "v3_20", feature = "dox"))]
87-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
88-
{
89-
if let Some(ref num_touches) = self.num_touches {
90-
properties.push(("num-touches", num_touches));
91-
}
87+
if let Some(ref num_touches) = self.num_touches {
88+
properties.push(("num-touches", num_touches));
9289
}
9390
#[cfg(any(feature = "v3_16", feature = "dox"))]
94-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))]
95-
{
96-
if let Some(ref product_id) = self.product_id {
97-
properties.push(("product-id", product_id));
98-
}
91+
if let Some(ref product_id) = self.product_id {
92+
properties.push(("product-id", product_id));
9993
}
10094
#[cfg(any(feature = "v3_16", feature = "dox"))]
101-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))]
102-
{
103-
if let Some(ref vendor_id) = self.vendor_id {
104-
properties.push(("vendor-id", vendor_id));
105-
}
95+
if let Some(ref vendor_id) = self.vendor_id {
96+
properties.push(("vendor-id", vendor_id));
10697
}
10798
let ret = glib::Object::new(X11DeviceXI2::static_type(), &properties)
10899
.expect("object new")

Diff for: gdkx11/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gio/src/auto/file_attribute_matcher.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ impl FileAttributeMatcher {
7878
impl fmt::Display for FileAttributeMatcher {
7979
#[inline]
8080
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
81-
write!(f, "{}", self.to_string())
81+
f.write_str(&self.to_string())
8282
}
8383
}

Diff for: gio/src/auto/list_store.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ impl ListStoreBuilder {
4848
pub fn build(self) -> ListStore {
4949
let mut properties: Vec<(&str, &dyn ToValue)> = vec![];
5050
#[cfg(any(feature = "v2_44", feature = "dox"))]
51-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_44")))]
52-
{
53-
if let Some(ref item_type) = self.item_type {
54-
properties.push(("item-type", item_type));
55-
}
51+
if let Some(ref item_type) = self.item_type {
52+
properties.push(("item-type", item_type));
5653
}
5754
let ret = glib::Object::new(ListStore::static_type(), &properties)
5855
.expect("object new")

Diff for: gio/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gio/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: glib/gobject-sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: glib/src/auto/enums.rs

-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ impl fmt::Display for ChecksumType {
3333
ChecksumType::Sha256 => "Sha256",
3434
ChecksumType::Sha512 => "Sha512",
3535
#[cfg(any(feature = "v2_52", feature = "dox"))]
36-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_52")))]
3736
ChecksumType::Sha384 => "Sha384",
3837
_ => "Unknown",
3938
}
@@ -52,7 +51,6 @@ impl ToGlib for ChecksumType {
5251
ChecksumType::Sha256 => glib_sys::G_CHECKSUM_SHA256,
5352
ChecksumType::Sha512 => glib_sys::G_CHECKSUM_SHA512,
5453
#[cfg(any(feature = "v2_52", feature = "dox"))]
55-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_52")))]
5654
ChecksumType::Sha384 => glib_sys::G_CHECKSUM_SHA384,
5755
ChecksumType::__Unknown(value) => value,
5856
}
@@ -68,7 +66,6 @@ impl FromGlib<glib_sys::GChecksumType> for ChecksumType {
6866
2 => ChecksumType::Sha256,
6967
3 => ChecksumType::Sha512,
7068
#[cfg(any(feature = "v2_52", feature = "dox"))]
71-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v2_52")))]
7269
4 => ChecksumType::Sha384,
7370
value => ChecksumType::__Unknown(value),
7471
}

Diff for: glib/src/auto/uri.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ impl Uri {
554554
impl fmt::Display for Uri {
555555
#[inline]
556556
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
557-
write!(f, "{}", self.to_string())
557+
f.write_str(&self.to_string())
558558
}
559559
}
560560

Diff for: glib/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: glib/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: graphene/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: graphene/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 30744ae)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1ae9689)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 8de1aa1)

Diff for: gtk/src/auto/about_dialog.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,8 @@ impl AboutDialogBuilder {
301301
properties.push(("expand", expand));
302302
}
303303
#[cfg(any(feature = "v3_20", feature = "dox"))]
304-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
305-
{
306-
if let Some(ref focus_on_click) = self.focus_on_click {
307-
properties.push(("focus-on-click", focus_on_click));
308-
}
304+
if let Some(ref focus_on_click) = self.focus_on_click {
305+
properties.push(("focus-on-click", focus_on_click));
309306
}
310307
if let Some(ref halign) = self.halign {
311308
properties.push(("halign", halign));

Diff for: gtk/src/auto/accel_label.rs

+6-15
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,12 @@ impl AccelLabelBuilder {
174174
properties.push(("wrap-mode", wrap_mode));
175175
}
176176
#[cfg(any(feature = "v3_16", feature = "dox"))]
177-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))]
178-
{
179-
if let Some(ref xalign) = self.xalign {
180-
properties.push(("xalign", xalign));
181-
}
177+
if let Some(ref xalign) = self.xalign {
178+
properties.push(("xalign", xalign));
182179
}
183180
#[cfg(any(feature = "v3_16", feature = "dox"))]
184-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_16")))]
185-
{
186-
if let Some(ref yalign) = self.yalign {
187-
properties.push(("yalign", yalign));
188-
}
181+
if let Some(ref yalign) = self.yalign {
182+
properties.push(("yalign", yalign));
189183
}
190184
if let Some(ref app_paintable) = self.app_paintable {
191185
properties.push(("app-paintable", app_paintable));
@@ -203,11 +197,8 @@ impl AccelLabelBuilder {
203197
properties.push(("expand", expand));
204198
}
205199
#[cfg(any(feature = "v3_20", feature = "dox"))]
206-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
207-
{
208-
if let Some(ref focus_on_click) = self.focus_on_click {
209-
properties.push(("focus-on-click", focus_on_click));
210-
}
200+
if let Some(ref focus_on_click) = self.focus_on_click {
201+
properties.push(("focus-on-click", focus_on_click));
211202
}
212203
if let Some(ref halign) = self.halign {
213204
properties.push(("halign", halign));

Diff for: gtk/src/auto/action_bar.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,8 @@ impl ActionBarBuilder {
113113
properties.push(("expand", expand));
114114
}
115115
#[cfg(any(feature = "v3_20", feature = "dox"))]
116-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
117-
{
118-
if let Some(ref focus_on_click) = self.focus_on_click {
119-
properties.push(("focus-on-click", focus_on_click));
120-
}
116+
if let Some(ref focus_on_click) = self.focus_on_click {
117+
properties.push(("focus-on-click", focus_on_click));
121118
}
122119
if let Some(ref halign) = self.halign {
123120
properties.push(("halign", halign));

Diff for: gtk/src/auto/app_chooser_button.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,8 @@ impl AppChooserButtonBuilder {
191191
properties.push(("expand", expand));
192192
}
193193
#[cfg(any(feature = "v3_20", feature = "dox"))]
194-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
195-
{
196-
if let Some(ref focus_on_click) = self.focus_on_click {
197-
properties.push(("focus-on-click", focus_on_click));
198-
}
194+
if let Some(ref focus_on_click) = self.focus_on_click {
195+
properties.push(("focus-on-click", focus_on_click));
199196
}
200197
if let Some(ref halign) = self.halign {
201198
properties.push(("halign", halign));

Diff for: gtk/src/auto/app_chooser_dialog.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,8 @@ impl AppChooserDialogBuilder {
274274
properties.push(("expand", expand));
275275
}
276276
#[cfg(any(feature = "v3_20", feature = "dox"))]
277-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
278-
{
279-
if let Some(ref focus_on_click) = self.focus_on_click {
280-
properties.push(("focus-on-click", focus_on_click));
281-
}
277+
if let Some(ref focus_on_click) = self.focus_on_click {
278+
properties.push(("focus-on-click", focus_on_click));
282279
}
283280
if let Some(ref halign) = self.halign {
284281
properties.push(("halign", halign));

Diff for: gtk/src/auto/app_chooser_widget.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,8 @@ impl AppChooserWidgetBuilder {
161161
properties.push(("expand", expand));
162162
}
163163
#[cfg(any(feature = "v3_20", feature = "dox"))]
164-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
165-
{
166-
if let Some(ref focus_on_click) = self.focus_on_click {
167-
properties.push(("focus-on-click", focus_on_click));
168-
}
164+
if let Some(ref focus_on_click) = self.focus_on_click {
165+
properties.push(("focus-on-click", focus_on_click));
169166
}
170167
if let Some(ref halign) = self.halign {
171168
properties.push(("halign", halign));

Diff for: gtk/src/auto/application_window.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,8 @@ impl ApplicationWindowBuilder {
228228
properties.push(("expand", expand));
229229
}
230230
#[cfg(any(feature = "v3_20", feature = "dox"))]
231-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
232-
{
233-
if let Some(ref focus_on_click) = self.focus_on_click {
234-
properties.push(("focus-on-click", focus_on_click));
235-
}
231+
if let Some(ref focus_on_click) = self.focus_on_click {
232+
properties.push(("focus-on-click", focus_on_click));
236233
}
237234
if let Some(ref halign) = self.halign {
238235
properties.push(("halign", halign));

Diff for: gtk/src/auto/aspect_frame.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -165,11 +165,8 @@ impl AspectFrameBuilder {
165165
properties.push(("expand", expand));
166166
}
167167
#[cfg(any(feature = "v3_20", feature = "dox"))]
168-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
169-
{
170-
if let Some(ref focus_on_click) = self.focus_on_click {
171-
properties.push(("focus-on-click", focus_on_click));
172-
}
168+
if let Some(ref focus_on_click) = self.focus_on_click {
169+
properties.push(("focus-on-click", focus_on_click));
173170
}
174171
if let Some(ref halign) = self.halign {
175172
properties.push(("halign", halign));

Diff for: gtk/src/auto/assistant.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,8 @@ impl AssistantBuilder {
243243
properties.push(("expand", expand));
244244
}
245245
#[cfg(any(feature = "v3_20", feature = "dox"))]
246-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
247-
{
248-
if let Some(ref focus_on_click) = self.focus_on_click {
249-
properties.push(("focus-on-click", focus_on_click));
250-
}
246+
if let Some(ref focus_on_click) = self.focus_on_click {
247+
properties.push(("focus-on-click", focus_on_click));
251248
}
252249
if let Some(ref halign) = self.halign {
253250
properties.push(("halign", halign));

Diff for: gtk/src/auto/box_.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,8 @@ impl BoxBuilder {
131131
properties.push(("expand", expand));
132132
}
133133
#[cfg(any(feature = "v3_20", feature = "dox"))]
134-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
135-
{
136-
if let Some(ref focus_on_click) = self.focus_on_click {
137-
properties.push(("focus-on-click", focus_on_click));
138-
}
134+
if let Some(ref focus_on_click) = self.focus_on_click {
135+
properties.push(("focus-on-click", focus_on_click));
139136
}
140137
if let Some(ref halign) = self.halign {
141138
properties.push(("halign", halign));

Diff for: gtk/src/auto/button.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -179,11 +179,8 @@ impl ButtonBuilder {
179179
properties.push(("expand", expand));
180180
}
181181
#[cfg(any(feature = "v3_20", feature = "dox"))]
182-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
183-
{
184-
if let Some(ref focus_on_click) = self.focus_on_click {
185-
properties.push(("focus-on-click", focus_on_click));
186-
}
182+
if let Some(ref focus_on_click) = self.focus_on_click {
183+
properties.push(("focus-on-click", focus_on_click));
187184
}
188185
if let Some(ref halign) = self.halign {
189186
properties.push(("halign", halign));

Diff for: gtk/src/auto/button_box.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,8 @@ impl ButtonBoxBuilder {
135135
properties.push(("expand", expand));
136136
}
137137
#[cfg(any(feature = "v3_20", feature = "dox"))]
138-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
139-
{
140-
if let Some(ref focus_on_click) = self.focus_on_click {
141-
properties.push(("focus-on-click", focus_on_click));
142-
}
138+
if let Some(ref focus_on_click) = self.focus_on_click {
139+
properties.push(("focus-on-click", focus_on_click));
143140
}
144141
if let Some(ref halign) = self.halign {
145142
properties.push(("halign", halign));

Diff for: gtk/src/auto/calendar.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,8 @@ impl CalendarBuilder {
146146
properties.push(("expand", expand));
147147
}
148148
#[cfg(any(feature = "v3_20", feature = "dox"))]
149-
#[cfg_attr(feature = "dox", doc(cfg(feature = "v3_20")))]
150-
{
151-
if let Some(ref focus_on_click) = self.focus_on_click {
152-
properties.push(("focus-on-click", focus_on_click));
153-
}
149+
if let Some(ref focus_on_click) = self.focus_on_click {
150+
properties.push(("focus-on-click", focus_on_click));
154151
}
155152
if let Some(ref halign) = self.halign {
156153
properties.push(("halign", halign));

0 commit comments

Comments
 (0)