diff options
Diffstat (limited to 'src/bin/egui_gui/props_helper.c')
-rw-r--r-- | src/bin/egui_gui/props_helper.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/bin/egui_gui/props_helper.c b/src/bin/egui_gui/props_helper.c index 154dad2..333b682 100644 --- a/src/bin/egui_gui/props_helper.c +++ b/src/bin/egui_gui/props_helper.c | |||
@@ -157,23 +157,6 @@ props_hoversel_objects_add(Eo *box, Eo *hover_parent, const char *default_val, c | |||
157 | if (found) continue; | 157 | if (found) continue; |
158 | } | 158 | } |
159 | 159 | ||
160 | /* if widget already has this resize object, don't add it to hoversel*/ | ||
161 | Eina_List *itr2; | ||
162 | Gui_Widget_Property *prop; | ||
163 | Eina_Bool dont_add_this_widget = EINA_FALSE; | ||
164 | if (wdg) | ||
165 | { | ||
166 | EINA_LIST_FOREACH(wdg_prop_list_get(wdg), itr2, prop) | ||
167 | { | ||
168 | if (!strcmp(prop_name_get(prop), RESIZE_OBJECT_ADD)) | ||
169 | { | ||
170 | Gui_Value *val = prop_value_nth_get(prop, 0); | ||
171 | if (DEP_ID_GET(val) == wdg_dep_id_get(w)) | ||
172 | dont_add_this_widget = EINA_TRUE; | ||
173 | } | ||
174 | } | ||
175 | } | ||
176 | if (dont_add_this_widget) continue; | ||
177 | eo_do(hoversel, elm_obj_hoversel_item_add(wdg_name_get(w), NULL, ELM_ICON_NONE, NULL, NULL)); | 160 | eo_do(hoversel, elm_obj_hoversel_item_add(wdg_name_get(w), NULL, ELM_ICON_NONE, NULL, NULL)); |
178 | } | 161 | } |
179 | } | 162 | } |