Skip to content

Commit ca6c3ca

Browse files
A6GibKmbilelmoussaoui
authored andcommitted
Regen bindings with new gir {g,s}etter annotations
1 parent f041688 commit ca6c3ca

File tree

205 files changed

+1348
-138
lines changed

Some content is hidden

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

205 files changed

+1348
-138
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 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 4ba6dc193f50)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)

gdk4-wayland/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 4ba6dc193f50)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)

gdk4-win32/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 4ba6dc193f50)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)

gdk4-win32/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 4ba6dc193f50)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)

gdk4-x11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 4ba6dc193f50)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)

gdk4-x11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 6a8847ce15a5)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 4ba6dc193f50)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)

gdk4/src/auto/clipboard.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ impl Clipboard {
3939
}
4040

4141
#[doc(alias = "gdk_clipboard_is_local")]
42+
#[doc(alias = "local")]
4243
pub fn is_local(&self) -> bool {
4344
unsafe { from_glib(ffi::gdk_clipboard_is_local(self.to_glib_none().0)) }
4445
}

gdk4/src/auto/content_provider.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ pub trait ContentProviderExt: IsA<ContentProvider> + sealed::Sealed + 'static {
8383

8484
#[doc(alias = "gdk_content_provider_ref_storable_formats")]
8585
#[doc(alias = "ref_storable_formats")]
86+
#[doc(alias = "storable-formats")]
8687
fn storable_formats(&self) -> ContentFormats {
8788
unsafe {
8889
from_glib_full(ffi::gdk_content_provider_ref_storable_formats(

gdk4/src/auto/cursor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ impl Cursor {
6363

6464
#[doc(alias = "gdk_cursor_get_hotspot_x")]
6565
#[doc(alias = "get_hotspot_x")]
66+
#[doc(alias = "hotspot-x")]
6667
pub fn hotspot_x(&self) -> i32 {
6768
unsafe { ffi::gdk_cursor_get_hotspot_x(self.to_glib_none().0) }
6869
}
6970

7071
#[doc(alias = "gdk_cursor_get_hotspot_y")]
7172
#[doc(alias = "get_hotspot_y")]
73+
#[doc(alias = "hotspot-y")]
7274
pub fn hotspot_y(&self) -> i32 {
7375
unsafe { ffi::gdk_cursor_get_hotspot_y(self.to_glib_none().0) }
7476
}

gdk4/src/auto/device.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ mod sealed {
3838
pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
3939
#[doc(alias = "gdk_device_get_caps_lock_state")]
4040
#[doc(alias = "get_caps_lock_state")]
41+
#[doc(alias = "caps-lock-state")]
4142
fn is_caps_locked(&self) -> bool {
4243
unsafe {
4344
from_glib(ffi::gdk_device_get_caps_lock_state(
@@ -48,6 +49,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
4849

4950
#[doc(alias = "gdk_device_get_device_tool")]
5051
#[doc(alias = "get_device_tool")]
52+
#[doc(alias = "tool")]
5153
fn device_tool(&self) -> Option<DeviceTool> {
5254
unsafe {
5355
from_glib_none(ffi::gdk_device_get_device_tool(
@@ -74,6 +76,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
7476

7577
#[doc(alias = "gdk_device_get_has_cursor")]
7678
#[doc(alias = "get_has_cursor")]
79+
#[doc(alias = "has-cursor")]
7780
fn has_cursor(&self) -> bool {
7881
unsafe {
7982
from_glib(ffi::gdk_device_get_has_cursor(
@@ -84,6 +87,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
8487

8588
#[doc(alias = "gdk_device_get_modifier_state")]
8689
#[doc(alias = "get_modifier_state")]
90+
#[doc(alias = "modifier-state")]
8791
fn modifier_state(&self) -> ModifierType {
8892
unsafe {
8993
from_glib(ffi::gdk_device_get_modifier_state(
@@ -100,6 +104,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
100104

101105
#[doc(alias = "gdk_device_get_num_lock_state")]
102106
#[doc(alias = "get_num_lock_state")]
107+
#[doc(alias = "num-lock-state")]
103108
fn is_num_locked(&self) -> bool {
104109
unsafe {
105110
from_glib(ffi::gdk_device_get_num_lock_state(
@@ -110,12 +115,14 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
110115

111116
#[doc(alias = "gdk_device_get_num_touches")]
112117
#[doc(alias = "get_num_touches")]
118+
#[doc(alias = "num-touches")]
113119
fn num_touches(&self) -> u32 {
114120
unsafe { ffi::gdk_device_get_num_touches(self.as_ref().to_glib_none().0) }
115121
}
116122

117123
#[doc(alias = "gdk_device_get_product_id")]
118124
#[doc(alias = "get_product_id")]
125+
#[doc(alias = "product-id")]
119126
fn product_id(&self) -> Option<glib::GString> {
120127
unsafe {
121128
from_glib_none(ffi::gdk_device_get_product_id(
@@ -126,6 +133,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
126133

127134
#[doc(alias = "gdk_device_get_scroll_lock_state")]
128135
#[doc(alias = "get_scroll_lock_state")]
136+
#[doc(alias = "scroll-lock-state")]
129137
fn is_scroll_locked(&self) -> bool {
130138
unsafe {
131139
from_glib(ffi::gdk_device_get_scroll_lock_state(
@@ -171,6 +179,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
171179

172180
#[doc(alias = "gdk_device_get_vendor_id")]
173181
#[doc(alias = "get_vendor_id")]
182+
#[doc(alias = "vendor-id")]
174183
fn vendor_id(&self) -> Option<glib::GString> {
175184
unsafe {
176185
from_glib_none(ffi::gdk_device_get_vendor_id(
@@ -180,6 +189,7 @@ pub trait DeviceExt: IsA<Device> + sealed::Sealed + 'static {
180189
}
181190

182191
#[doc(alias = "gdk_device_has_bidi_layouts")]
192+
#[doc(alias = "has-bidi-layouts")]
183193
fn has_bidi_layouts(&self) -> bool {
184194
unsafe {
185195
from_glib(ffi::gdk_device_has_bidi_layouts(

0 commit comments

Comments
 (0)