Skip to content

Commit

Permalink
Fix remaining typos manually
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Aug 2, 2023
1 parent 53f25bb commit 442f83c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions glib/src/gobject/binding_group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl<'a> BindingGroupBuilder<'a> {
let _ = Box::from_raw(data as *mut (TransformFn, TransformFn, String, ParamSpec));
}

let mut _source_propery_name_cstr = None;
let mut _source_property_name_cstr = None;
let source_property_name = if let Some(source) = self.group.source() {
let source_property = source.find_property(self.source_property).ok_or_else(|| {
bool_error!(
Expand All @@ -202,9 +202,9 @@ impl<'a> BindingGroupBuilder<'a> {
source_property.name().as_ptr()
} else {
// This is a Rust &str and needs to be NUL-terminated first
let source_propery_name = std::ffi::CString::new(self.source_property).unwrap();
let source_property_name_ptr = source_propery_name.as_ptr() as *const u8;
_source_propery_name_cstr = Some(source_propery_name);
let source_property_name = std::ffi::CString::new(self.source_property).unwrap();
let source_property_name_ptr = source_property_name.as_ptr() as *const u8;
_source_property_name_cstr = Some(source_property_name);

source_property_name_ptr
};
Expand Down

0 comments on commit 442f83c

Please sign in to comment.