File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ impl<O: IsA<DBusProxy>> DBusProxyExtManual for O {
4545 let f: & F = & * ( f as * const F ) ;
4646 f (
4747 DBusProxy :: from_glib_borrow ( this) . unsafe_cast_ref ( ) ,
48- Option :: < glib:: GString > :: from_glib_borrow ( sender_name)
48+ ( * Option :: < glib:: GString > :: from_glib_borrow ( sender_name) )
4949 . as_ref ( )
50- . as_deref ( ) ,
50+ . map ( |s| s . as_str ( ) ) ,
5151 & glib:: GString :: from_glib_borrow ( signal_name) ,
5252 & from_glib_borrow ( parameters) ,
5353 )
Original file line number Diff line number Diff line change @@ -617,10 +617,10 @@ impl AsRef<[u8]> for GString {
617617}
618618
619619impl Deref for GString {
620- type Target = str ;
620+ type Target = GStr ;
621621
622- fn deref ( & self ) -> & str {
623- self . as_str ( )
622+ fn deref ( & self ) -> & GStr {
623+ self . as_gstr ( )
624624 }
625625}
626626
You can’t perform that action at this time.
0 commit comments