This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch eolian/improvements
in repository efl.
View the commit online.
commit 2810a13ce16c1e2411b2645a6befc8359cd475c4
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 8 19:11:53 2026 -0600
efl: the model fields of the model events are @nullable
child,removed is raised with no child (the generic, container, io and
composite models), and model,changed with no previous model at the first
set, or no current one when it is unset (model provider, widget). The
struct fields said otherwise, so a binding typed them as always there.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---
src/lib/efl/interfaces/efl_model.eo | 5 +++--
src/lib/efl/interfaces/efl_ui_view.eo | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo
index 415b8624d3..f2dac092de 100644
--- a/src/lib/efl/interfaces/efl_model.eo
+++ b/src/lib/efl/interfaces/efl_model.eo
@@ -15,8 +15,9 @@ struct Efl.Model_Children_Event {
]]
index: uint; [[index is a hint and is intended to provide a way for applications
to control/know children relative positions through listings.]]
- child: Efl.Object; [[If an object has been built for this index and it is currently tracked by
- the parent, it will be available here.]]
+ child: Efl.Object @nullable; [[If an object has been built for this index and it is currently tracked by
+ the parent, it will be available here. $NULL when it is not (a removed
+ child may already be gone).]]
}
interface Efl.Model
diff --git a/src/lib/efl/interfaces/efl_ui_view.eo b/src/lib/efl/interfaces/efl_ui_view.eo
index c92662b7bd..eb5381c199 100644
--- a/src/lib/efl/interfaces/efl_ui_view.eo
+++ b/src/lib/efl/interfaces/efl_ui_view.eo
@@ -1,7 +1,7 @@
struct Efl.Model_Changed_Event {
[[Every time the model is changed on the object. @since 1.23]]
- current: Efl.Model; [[The newly set model.]]
- previous: Efl.Model; [[The previously set model.]]
+ current: Efl.Model @nullable; [[The newly set model, $NULL when the model was unset.]]
+ previous: Efl.Model @nullable; [[The previously set model, $NULL when there was none.]]
}
interface Efl.Ui.View
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.