summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-05-27 18:35:01 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-05-27 18:35:01 +0300
commit8a9a743e50202f230d7a67d4586c0d61bb696e86 (patch)
tree5f22320bcea37f9d68d9701782a02df17845db6a
parentcb8a2bec774e7b04336075f7938a145d411f07f2 (diff)
remove warnings when edit items
-rw-r--r--src/bin/egui_gui/editor.c1
-rw-r--r--src/bin/egui_gui/props_helper.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index 1a6197c..961decf 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -2070,7 +2070,6 @@ _itemview_item_do_(unsigned int type)
2070{ 2070{
2071 static int i = -1; 2071 static int i = -1;
2072 i++; 2072 i++;
2073 ERR("Here need to call function which will add item to Menu");
2074 Gui_Widget_Item *wit = NULL, *parent_it = NULL; 2073 Gui_Widget_Item *wit = NULL, *parent_it = NULL;
2075 Gui_Widget *wdg = (Gui_Widget *) _editor_wdg_selected_get(); 2074 Gui_Widget *wdg = (Gui_Widget *) _editor_wdg_selected_get();
2076 const Gui_Context *ctx = wdg_context_get(wdg); 2075 const Gui_Context *ctx = wdg_context_get(wdg);
diff --git a/src/bin/egui_gui/props_helper.c b/src/bin/egui_gui/props_helper.c
index 572a807..8f9b644 100644
--- a/src/bin/egui_gui/props_helper.c
+++ b/src/bin/egui_gui/props_helper.c
@@ -378,6 +378,10 @@ props_value_add(Eo *box, const Gui_Context *ctx, const Gui_Widget *wdg, const Gu
378 } 378 }
379 break; 379 break;
380 } 380 }
381 case GUI_TYPE_OBJECT_ITEM:
382 /* FIXME: add handler for calback's data if needed*/
383 case GUI_TYPE_VOID:
384 break;
381 default: 385 default:
382 ERR("switch default for type: %s; op_name: %s", db_gui_type_name_get(t), db_op_desc_op_name_get(op)); 386 ERR("switch default for type: %s; op_name: %s", db_gui_type_name_get(t), db_op_desc_op_name_get(op));
383 } 387 }