Skip to content

Commit f8fd537

Browse files
committed
Make emit_ public
1 parent e9c8665 commit f8fd537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glib-macros/src/properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ fn expand_emit_impl(props: &[PropDesc]) -> TokenStream2 {
531531
let name = &p.name;
532532
let fn_prototype = {
533533
let fn_ident = format_ident!("emit_{}", name_to_ident(name));
534-
quote!(fn #fn_ident(&self))
534+
quote!(pub fn #fn_ident(&self))
535535
};
536536
let span = p.attrs_span;
537537
quote_spanned!(span=> #fn_prototype {

0 commit comments

Comments
 (0)