Skip to content

Commit b4c598a

Browse files
Regenerate with latest gir-files
1 parent eba5b38 commit b4c598a

Some content is hidden

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

51 files changed

+607
-10
lines changed

gdk4-wayland/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gdk4-wayland/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gdk4-x11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gdk4-x11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gdk4/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gdk4/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gsk4/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gsk4/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 0f78aff3d7f7)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 7fa401e3ee5d)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 89a11aa6a362)

gtk4/src/auto/cell_area.rs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ impl CellArea {
4040
}
4141

4242
pub trait CellAreaExt: 'static {
43+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
4344
#[doc(alias = "gtk_cell_area_activate")]
4445
fn activate(
4546
&self,
@@ -50,6 +51,7 @@ pub trait CellAreaExt: 'static {
5051
edit_only: bool,
5152
) -> bool;
5253

54+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
5355
#[doc(alias = "gtk_cell_area_activate_cell")]
5456
fn activate_cell(
5557
&self,
@@ -60,16 +62,19 @@ pub trait CellAreaExt: 'static {
6062
flags: CellRendererState,
6163
) -> bool;
6264

65+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
6366
#[doc(alias = "gtk_cell_area_add")]
6467
fn add(&self, renderer: &impl IsA<CellRenderer>);
6568

69+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
6670
#[doc(alias = "gtk_cell_area_add_focus_sibling")]
6771
fn add_focus_sibling(
6872
&self,
6973
renderer: &impl IsA<CellRenderer>,
7074
sibling: &impl IsA<CellRenderer>,
7175
);
7276

77+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
7378
#[doc(alias = "gtk_cell_area_apply_attributes")]
7479
fn apply_attributes(
7580
&self,
@@ -79,21 +84,27 @@ pub trait CellAreaExt: 'static {
7984
is_expanded: bool,
8085
);
8186

87+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
8288
#[doc(alias = "gtk_cell_area_attribute_connect")]
8389
fn attribute_connect(&self, renderer: &impl IsA<CellRenderer>, attribute: &str, column: i32);
8490

91+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
8592
#[doc(alias = "gtk_cell_area_attribute_disconnect")]
8693
fn attribute_disconnect(&self, renderer: &impl IsA<CellRenderer>, attribute: &str);
8794

95+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
8896
#[doc(alias = "gtk_cell_area_attribute_get_column")]
8997
fn attribute_get_column(&self, renderer: &impl IsA<CellRenderer>, attribute: &str) -> i32;
9098

99+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
91100
#[doc(alias = "gtk_cell_area_copy_context")]
92101
fn copy_context(&self, context: &impl IsA<CellAreaContext>) -> CellAreaContext;
93102

103+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
94104
#[doc(alias = "gtk_cell_area_create_context")]
95105
fn create_context(&self) -> CellAreaContext;
96106

107+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
97108
#[doc(alias = "gtk_cell_area_event")]
98109
fn event(
99110
&self,
@@ -104,9 +115,11 @@ pub trait CellAreaExt: 'static {
104115
flags: CellRendererState,
105116
) -> i32;
106117

118+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
107119
#[doc(alias = "gtk_cell_area_focus")]
108120
fn focus(&self, direction: DirectionType) -> bool;
109121

122+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
110123
#[doc(alias = "gtk_cell_area_foreach")]
111124
fn foreach<P: FnMut(&CellRenderer) -> bool>(&self, callback: P);
112125

@@ -120,6 +133,7 @@ pub trait CellAreaExt: 'static {
120133
callback: P,
121134
);
122135

136+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
123137
#[doc(alias = "gtk_cell_area_get_cell_allocation")]
124138
#[doc(alias = "get_cell_allocation")]
125139
fn cell_allocation(
@@ -130,6 +144,7 @@ pub trait CellAreaExt: 'static {
130144
cell_area: &gdk::Rectangle,
131145
) -> gdk::Rectangle;
132146

147+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
133148
#[doc(alias = "gtk_cell_area_get_cell_at_position")]
134149
#[doc(alias = "get_cell_at_position")]
135150
fn cell_at_position(
@@ -145,26 +160,32 @@ pub trait CellAreaExt: 'static {
145160
#[doc(alias = "get_current_path_string")]
146161
fn current_path_string(&self) -> glib::GString;
147162

163+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
148164
#[doc(alias = "gtk_cell_area_get_edit_widget")]
149165
#[doc(alias = "get_edit_widget")]
150166
fn edit_widget(&self) -> Option<CellEditable>;
151167

168+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
152169
#[doc(alias = "gtk_cell_area_get_edited_cell")]
153170
#[doc(alias = "get_edited_cell")]
154171
fn edited_cell(&self) -> Option<CellRenderer>;
155172

173+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
156174
#[doc(alias = "gtk_cell_area_get_focus_cell")]
157175
#[doc(alias = "get_focus_cell")]
158176
fn focus_cell(&self) -> Option<CellRenderer>;
159177

178+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
160179
#[doc(alias = "gtk_cell_area_get_focus_from_sibling")]
161180
#[doc(alias = "get_focus_from_sibling")]
162181
fn focus_from_sibling(&self, renderer: &impl IsA<CellRenderer>) -> Option<CellRenderer>;
163182

183+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
164184
#[doc(alias = "gtk_cell_area_get_focus_siblings")]
165185
#[doc(alias = "get_focus_siblings")]
166186
fn focus_siblings(&self, renderer: &impl IsA<CellRenderer>) -> Vec<CellRenderer>;
167187

188+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
168189
#[doc(alias = "gtk_cell_area_get_preferred_height")]
169190
#[doc(alias = "get_preferred_height")]
170191
fn preferred_height(
@@ -173,6 +194,7 @@ pub trait CellAreaExt: 'static {
173194
widget: &impl IsA<Widget>,
174195
) -> (i32, i32);
175196

197+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
176198
#[doc(alias = "gtk_cell_area_get_preferred_height_for_width")]
177199
#[doc(alias = "get_preferred_height_for_width")]
178200
fn preferred_height_for_width(
@@ -182,6 +204,7 @@ pub trait CellAreaExt: 'static {
182204
width: i32,
183205
) -> (i32, i32);
184206

207+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
185208
#[doc(alias = "gtk_cell_area_get_preferred_width")]
186209
#[doc(alias = "get_preferred_width")]
187210
fn preferred_width(
@@ -190,6 +213,7 @@ pub trait CellAreaExt: 'static {
190213
widget: &impl IsA<Widget>,
191214
) -> (i32, i32);
192215

216+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
193217
#[doc(alias = "gtk_cell_area_get_preferred_width_for_height")]
194218
#[doc(alias = "get_preferred_width_for_height")]
195219
fn preferred_width_for_height(
@@ -203,36 +227,43 @@ pub trait CellAreaExt: 'static {
203227
#[doc(alias = "get_request_mode")]
204228
fn request_mode(&self) -> SizeRequestMode;
205229

230+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
206231
#[doc(alias = "gtk_cell_area_has_renderer")]
207232
fn has_renderer(&self, renderer: &impl IsA<CellRenderer>) -> bool;
208233

234+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
209235
#[doc(alias = "gtk_cell_area_inner_cell_area")]
210236
fn inner_cell_area(
211237
&self,
212238
widget: &impl IsA<Widget>,
213239
cell_area: &gdk::Rectangle,
214240
) -> gdk::Rectangle;
215241

242+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
216243
#[doc(alias = "gtk_cell_area_is_activatable")]
217244
fn is_activatable(&self) -> bool;
218245

246+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
219247
#[doc(alias = "gtk_cell_area_is_focus_sibling")]
220248
fn is_focus_sibling(
221249
&self,
222250
renderer: &impl IsA<CellRenderer>,
223251
sibling: &impl IsA<CellRenderer>,
224252
) -> bool;
225253

254+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
226255
#[doc(alias = "gtk_cell_area_remove")]
227256
fn remove(&self, renderer: &impl IsA<CellRenderer>);
228257

258+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
229259
#[doc(alias = "gtk_cell_area_remove_focus_sibling")]
230260
fn remove_focus_sibling(
231261
&self,
232262
renderer: &impl IsA<CellRenderer>,
233263
sibling: &impl IsA<CellRenderer>,
234264
);
235265

266+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
236267
#[doc(alias = "gtk_cell_area_request_renderer")]
237268
fn request_renderer(
238269
&self,
@@ -242,9 +273,11 @@ pub trait CellAreaExt: 'static {
242273
for_size: i32,
243274
) -> (i32, i32);
244275

276+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
245277
#[doc(alias = "gtk_cell_area_set_focus_cell")]
246278
fn set_focus_cell(&self, renderer: Option<&impl IsA<CellRenderer>>);
247279

280+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
248281
#[doc(alias = "gtk_cell_area_snapshot")]
249282
fn snapshot(
250283
&self,
@@ -257,6 +290,7 @@ pub trait CellAreaExt: 'static {
257290
paint_focus: bool,
258291
);
259292

293+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
260294
#[doc(alias = "gtk_cell_area_stop_editing")]
261295
fn stop_editing(&self, canceled: bool);
262296

gtk4/src/auto/cell_area_box.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ glib::wrapper! {
3030
}
3131

3232
impl CellAreaBox {
33+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
3334
#[doc(alias = "gtk_cell_area_box_new")]
3435
pub fn new() -> CellAreaBox {
3536
assert_initialized_main_thread!();
@@ -44,12 +45,14 @@ impl CellAreaBox {
4445
CellAreaBoxBuilder::default()
4546
}
4647

48+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
4749
#[doc(alias = "gtk_cell_area_box_get_spacing")]
4850
#[doc(alias = "get_spacing")]
4951
pub fn spacing(&self) -> i32 {
5052
unsafe { ffi::gtk_cell_area_box_get_spacing(self.to_glib_none().0) }
5153
}
5254

55+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
5356
#[doc(alias = "gtk_cell_area_box_pack_end")]
5457
pub fn pack_end(
5558
&self,
@@ -69,6 +72,7 @@ impl CellAreaBox {
6972
}
7073
}
7174

75+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
7276
#[doc(alias = "gtk_cell_area_box_pack_start")]
7377
pub fn pack_start(
7478
&self,
@@ -88,6 +92,7 @@ impl CellAreaBox {
8892
}
8993
}
9094

95+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
9196
#[doc(alias = "gtk_cell_area_box_set_spacing")]
9297
pub fn set_spacing(&self, spacing: i32) {
9398
unsafe {

0 commit comments

Comments
 (0)