Skip to content

Commit 85ff431

Browse files
committed
glib-macros: allow properties macro generated functions to be unused
1 parent 7cde5e9 commit 85ff431

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

glib-macros/src/properties.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ pub fn impl_derive_props(input: PropsMacroInput) -> TokenStream {
628628
#fn_set_property
629629
}
630630

631+
#[allow(dead_code)]
631632
impl #wrapper_type {
632633
#getset_properties
633634
#connect_prop_notify

0 commit comments

Comments
 (0)