summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-12-22 11:59:32 +0200
committerYakov Goldberg <yakov.g@samsung.com>2014-12-23 10:13:30 +0200
commite1ebd05f1fe15e2c41be6b2a353ff4e92274fbe6 (patch)
tree865c725d20cd81af7e0a9548accf45ed71deb9a7 /src/bin
parentfd2df9da283b23ece3adefd033fe9c9072a885be (diff)
Fix window creation from callback.
A bad message was printed during parsing and no empty place was reserved in the hoversel to choose a NULL parent.
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/egui_gui/props_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/egui_gui/props_helper.c b/src/bin/egui_gui/props_helper.c
index 82ea874..f6efbf6 100644
--- a/src/bin/egui_gui/props_helper.c
+++ b/src/bin/egui_gui/props_helper.c
@@ -295,7 +295,7 @@ props_hoversel_objects_add(Eo *box, Eo *hoversel, Eo *hover_parent, const char *
295 if (!hoversel) hoversel = eo_add(ELM_HOVERSEL_CLASS, box); 295 if (!hoversel) hoversel = eo_add(ELM_HOVERSEL_CLASS, box);
296 if (hover_parent) eo_do(hoversel, elm_obj_hoversel_hover_parent_set(hover_parent)); 296 if (hover_parent) eo_do(hoversel, elm_obj_hoversel_hover_parent_set(hover_parent));
297 297
298 if ((wdg) && 298 if ((!wdg) ||
299 (!strcmp(wdg_class_name_get(wdg), DB_DEF_CTXPOPUP_CLASS) || 299 (!strcmp(wdg_class_name_get(wdg), DB_DEF_CTXPOPUP_CLASS) ||
300 !strcmp(wdg_class_name_get(wdg), DB_DEF_DISKSELECTOR_CLASS) || 300 !strcmp(wdg_class_name_get(wdg), DB_DEF_DISKSELECTOR_CLASS) ||
301 !strcmp(wdg_class_name_get(wdg), DB_DEF_NAVIFRAME_CLASS))) 301 !strcmp(wdg_class_name_get(wdg), DB_DEF_NAVIFRAME_CLASS)))