File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed
Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -825,6 +825,9 @@ status = "generate"
825825 name = " set_attribute_stringv"
826826 # use strv
827827 manual = true
828+ [[object .function ]]
829+ pattern = " [s|g]et_attribute_file_path"
830+ version = " 2.78"
828831
829832[[object ]]
830833name = " Gio.FilterOutputStream"
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ impl FileInfo {
8989 // unsafe { TODO: call ffi:g_file_info_get_attribute_data() }
9090 //}
9191
92+ #[ cfg( feature = "v2_78" ) ]
93+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_78" ) ) ) ]
9294 #[ doc( alias = "g_file_info_get_attribute_file_path" ) ]
9395 #[ doc( alias = "get_attribute_file_path" ) ]
9496 pub fn attribute_file_path ( & self , attribute : & str ) -> glib:: GString {
@@ -363,6 +365,8 @@ impl FileInfo {
363365 }
364366 }
365367
368+ #[ cfg( feature = "v2_78" ) ]
369+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_78" ) ) ) ]
366370 #[ doc( alias = "g_file_info_set_attribute_file_path" ) ]
367371 pub fn set_attribute_file_path ( & self , attribute : & str , attr_value : & str ) {
368372 unsafe {
Original file line number Diff line number Diff line change @@ -11,6 +11,13 @@ external_libraries = [
1111 " GObject" ,
1212]
1313
14+ [[object ]]
15+ name = " Gio.FileInfo"
16+ status = " generate"
17+ [[object .function ]]
18+ pattern = " [s|g]et_attribute_file_path"
19+ version = " 2.78"
20+
1421[[object ]]
1522name = " Gio.UnixMountEntry"
1623status = " generate"
Original file line number Diff line number Diff line change @@ -11618,6 +11618,8 @@ extern "C" {
1161811618 value_pp: *mut gpointer,
1161911619 status: *mut GFileAttributeStatus,
1162011620 ) -> gboolean;
11621+ #[cfg(feature = "v2_78")]
11622+ #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
1162111623 pub fn g_file_info_get_attribute_file_path(
1162211624 info: *mut GFileInfo,
1162311625 attribute: *const c_char,
@@ -11694,6 +11696,8 @@ extern "C" {
1169411696 attribute: *const c_char,
1169511697 attr_value: *const c_char,
1169611698 );
11699+ #[cfg(feature = "v2_78")]
11700+ #[cfg_attr(docsrs, doc(cfg(feature = "v2_78")))]
1169711701 pub fn g_file_info_set_attribute_file_path(
1169811702 info: *mut GFileInfo,
1169911703 attribute: *const c_char,
You can’t perform that action at this time.
0 commit comments