Skip to content

Commit

Permalink
codegen: Fix ErrorDomain path
Browse files Browse the repository at this point in the history
Should really be part of prelude...
  • Loading branch information
bilelmoussaoui committed Jul 6, 2023
1 parent 032b328 commit c659c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codegen/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ impl FromGlib<{sys_crate_name}::{ffi_name}> for {name} {{
fn domain() -> {glib_quark} {{
{assert}",
name = enum_.name,
glib_error_domain = use_glib_type(env, "ErrorDomain"),
glib_error_domain = use_glib_type(env, "error::ErrorDomain"),
glib_quark = use_glib_type(env, "Quark"),
assert = assert
)?;
Expand Down

0 comments on commit c659c2b

Please sign in to comment.