summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_layout.c15
-rw-r--r--src/lib/elementary/efl_ui_widget.c4
2 files changed, 7 insertions, 12 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index f6f725eb9c..8c6e69abcf 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2179,21 +2179,18 @@ _efl_model_properties_changed_cb(void *data, const Efl_Event *event)
2179 2179
2180 EINA_ARRAY_ITER_NEXT(evt->changed_properties, i, prop, it) 2180 EINA_ARRAY_ITER_NEXT(evt->changed_properties, i, prop, it)
2181 { 2181 {
2182 Eina_Stringshare *sprop = eina_stringshare_add(prop);
2183 const char *part; 2182 const char *part;
2184 const char *signal; 2183 const char *signal;
2185 Efl_Ui_Layout_Factory_Tracking *factory; 2184 Efl_Ui_Layout_Factory_Tracking *factory;
2186 2185
2187 part = eina_hash_find(pd->connect.properties, sprop); 2186 part = eina_hash_find(pd->connect.properties, prop);
2188 if (part) _efl_ui_layout_view_model_property_update(pd, part, sprop); 2187 if (part) _efl_ui_layout_view_model_property_update(pd, part, prop);
2189 2188
2190 signal = eina_hash_find(pd->connect.signals, sprop); 2189 signal = eina_hash_find(pd->connect.signals, prop);
2191 if (signal) _efl_ui_layout_view_model_signal_update(pd, signal, sprop); 2190 if (signal) _efl_ui_layout_view_model_signal_update(pd, signal, prop);
2192 2191
2193 factory = eina_hash_find(pd->connect.factories, sprop); 2192 factory = eina_hash_find(pd->connect.factories, prop);
2194 if (factory) _efl_ui_layout_view_model_content_update(pd, factory, sprop); 2193 if (factory) _efl_ui_layout_view_model_content_update(pd, factory, prop);
2195
2196 eina_stringshare_del(sprop);
2197 } 2194 }
2198} 2195}
2199 2196
diff --git a/src/lib/elementary/efl_ui_widget.c b/src/lib/elementary/efl_ui_widget.c
index 86c2db8e97..25462ceb02 100644
--- a/src/lib/elementary/efl_ui_widget.c
+++ b/src/lib/elementary/efl_ui_widget.c
@@ -6010,12 +6010,10 @@ _efl_ui_model_property_bind_changed(void *data, const Efl_Event *event)
6010 6010
6011 EINA_ARRAY_ITER_NEXT(evt->changed_properties, i, prop, it) 6011 EINA_ARRAY_ITER_NEXT(evt->changed_properties, i, prop, it)
6012 { 6012 {
6013 Eina_Stringshare *sp = eina_stringshare_add(prop);
6014 Efl_Ui_Property_Bound *lookup; 6013 Efl_Ui_Property_Bound *lookup;
6015 6014
6016 lookup = eina_hash_find(pd->properties.model_lookup, sp); 6015 lookup = eina_hash_find(pd->properties.model_lookup, prop);
6017 if (lookup) _efl_ui_property_bind_get(pd, lookup); 6016 if (lookup) _efl_ui_property_bind_get(pd, lookup);
6018 eina_stringshare_del(sp);
6019 } 6017 }
6020} 6018}
6021 6019