Remove unneeded conversion

parent c4b7daa5
......@@ -98,10 +98,10 @@ pub fn slot_trait_impls<'ast>(names: &Names, slots: &[Slot<'ast>]) -> Vec<TokenS
fn #connect_signalname<F: Fn(&Self, #input_types) #output + 'static>(&self, f: F) ->
glib::SignalHandlerId
{
glib::ObjectExt::connect(self.to_glib_none().0,
#signalname_str,
false,
f).unwrap()
glib::ObjectExt::connect(self,
#signalname_str,
false,
f).unwrap()
}
})
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment