File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -1031,12 +1031,7 @@ pub unsafe trait WidgetClassExt: ClassStruct {
1031
1031
}
1032
1032
1033
1033
#[doc(alias = "gtk_widget_class_add_binding_action")]
1034
- fn add_binding_action(
1035
- &mut self,
1036
- keyval: gdk::Key,
1037
- mods: gdk::ModifierType,
1038
- action_name: &str,
1039
- ) {
1034
+ fn add_binding_action(&mut self, keyval: gdk::Key, mods: gdk::ModifierType, action_name: &str) {
1040
1035
let shortcut = crate::Shortcut::new(
1041
1036
Some(crate::KeyvalTrigger::new(keyval, mods)),
1042
1037
Some(crate::NamedAction::new(action_name)),
@@ -1045,12 +1040,7 @@ pub unsafe trait WidgetClassExt: ClassStruct {
1045
1040
}
1046
1041
1047
1042
#[doc(alias = "gtk_widget_class_add_binding_signal")]
1048
- fn add_binding_signal(
1049
- &mut self,
1050
- keyval: gdk::Key,
1051
- mods: gdk::ModifierType,
1052
- signal_name: &str,
1053
- ) {
1043
+ fn add_binding_signal(&mut self, keyval: gdk::Key, mods: gdk::ModifierType, signal_name: &str) {
1054
1044
let type_ = <Self::Type as ObjectSubclassType>::type_();
1055
1045
assert!(
1056
1046
SignalId::lookup(signal_name, type_).is_some(),
You can’t perform that action at this time.
0 commit comments