Skip to content

Commit 2ca01cd

Browse files
Regenerate with latest gir-files
1 parent f823f54 commit 2ca01cd

File tree

19 files changed

+62
-13
lines changed

19 files changed

+62
-13
lines changed

gdk-pixbuf/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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gdk-pixbuf/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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gio/src/auto/file_info.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@ impl FileInfo {
8989
// unsafe { TODO: call ffi:g_file_info_get_attribute_data() }
9090
//}
9191

92+
#[doc(alias = "g_file_info_get_attribute_file_path")]
93+
#[doc(alias = "get_attribute_file_path")]
94+
pub fn attribute_file_path(&self, attribute: &str) -> glib::GString {
95+
unsafe {
96+
from_glib_none(ffi::g_file_info_get_attribute_file_path(
97+
self.to_glib_none().0,
98+
attribute.to_glib_none().0,
99+
))
100+
}
101+
}
102+
92103
#[doc(alias = "g_file_info_get_attribute_int32")]
93104
#[doc(alias = "get_attribute_int32")]
94105
pub fn attribute_int32(&self, attribute: &str) -> i32 {
@@ -352,6 +363,17 @@ impl FileInfo {
352363
}
353364
}
354365

366+
#[doc(alias = "g_file_info_set_attribute_file_path")]
367+
pub fn set_attribute_file_path(&self, attribute: &str, attr_value: &str) {
368+
unsafe {
369+
ffi::g_file_info_set_attribute_file_path(
370+
self.to_glib_none().0,
371+
attribute.to_glib_none().0,
372+
attr_value.to_glib_none().0,
373+
);
374+
}
375+
}
376+
355377
#[doc(alias = "g_file_info_set_attribute_int32")]
356378
pub fn set_attribute_int32(&self, attribute: &str, attr_value: i32) {
357379
unsafe {

gio/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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

gio/sys/src/lib.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11618,6 +11618,10 @@ extern "C" {
1161811618
value_pp: *mut gpointer,
1161911619
status: *mut GFileAttributeStatus,
1162011620
) -> gboolean;
11621+
pub fn g_file_info_get_attribute_file_path(
11622+
info: *mut GFileInfo,
11623+
attribute: *const c_char,
11624+
) -> *const c_char;
1162111625
pub fn g_file_info_get_attribute_int32(info: *mut GFileInfo, attribute: *const c_char) -> i32;
1162211626
pub fn g_file_info_get_attribute_int64(info: *mut GFileInfo, attribute: *const c_char) -> i64;
1162311627
pub fn g_file_info_get_attribute_object(
@@ -11690,6 +11694,11 @@ extern "C" {
1169011694
attribute: *const c_char,
1169111695
attr_value: *const c_char,
1169211696
);
11697+
pub fn g_file_info_set_attribute_file_path(
11698+
info: *mut GFileInfo,
11699+
attribute: *const c_char,
11700+
attr_value: *const c_char,
11701+
);
1169311702
pub fn g_file_info_set_attribute_int32(
1169411703
info: *mut GFileInfo,
1169511704
attribute: *const c_char,

gio/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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

glib/gobject-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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

glib/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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

glib/sys/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6735,6 +6735,7 @@ extern "C" {
67356735
data_teardown: GTestFixtureFunc,
67366736
) -> *mut GTestCase;
67376737
pub fn g_test_create_suite(suite_name: *const c_char) -> *mut GTestSuite;
6738+
pub fn g_test_disable_crash_reporting();
67386739
pub fn g_test_expect_message(
67396740
log_domain: *const c_char,
67406741
log_level: GLogLevelFlags,

glib/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 @ ef087c070d5b)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ c23f21f51d54)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 1dc6c3826666)

0 commit comments

Comments
 (0)