Skip to content

Commit

Permalink
signals: work-around ObjectType shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
Mstrodl committed Jan 6, 2025
1 parent 61370e8 commit 29f6cf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/analysis/signals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ fn analyze_signal(
if trampoline.is_ok() {
imports.add_used_types(&used_types);
imports.add("glib::prelude::*");
imports.add("glib::object::ObjectType as _");
imports.add("glib::signal::{connect_raw, SignalHandlerId}");
imports.add("std::boxed::Box as Box_");
}
Expand Down

0 comments on commit 29f6cf7

Please sign in to comment.