diff --git a/glib/src/object.rs b/glib/src/object.rs index 7cdeaca56170..ab60a8cf1b4b 100644 --- a/glib/src/object.rs +++ b/glib/src/object.rs @@ -2287,6 +2287,7 @@ impl ObjectExt for T { }) .collect::>(); + let _guard = self.freeze_notify(); for (name, value) in params { unsafe { gobject_ffi::g_object_set_property( @@ -2318,6 +2319,7 @@ impl ObjectExt for T { }) .collect::>(); + let _guard = self.freeze_notify(); for (name, value) in params { unsafe { gobject_ffi::g_object_set_property(