Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnome-class
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ian P. Cooke
gnome-class
Commits
c0f85477
Commit
c0f85477
authored
Nov 15, 2018
by
Alex Crichton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Be sure to canonicalize signal names passed to `connect`
Closes #43
parent
7be6b13a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/gen/instance_ext.rs
src/gen/instance_ext.rs
+2
-1
No files found.
src/gen/instance_ext.rs
View file @
c0f85477
...
...
@@ -89,7 +89,8 @@ pub fn slot_trait_impls<'ast>(names: &Names, slots: &[Slot<'ast>]) -> Vec<TokenS
let
connect_signalname
=
signals
::
connect_signalname
(
signal
);
let
signalname_trampoline
=
signals
::
signal_trampoline_name
(
signal
);
let
sig
=
&
signal
.sig
;
let
signalname_str
=
format!
(
"{}"
,
sig
.name
);
let
signalname_str
=
signals
::
canonicalize_signal_name
(
&
sig
.name
.to_string
())
.expect
(
"rust identifiers should always be canonicalizable"
);
let
input_types
=
signal
.sig
.input_arg_types
();
let
output
=
&
sig
.output
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment