summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xedc/browser-view-control-bar.edc3
-rwxr-xr-xsrc/scissorbox/scissorbox.cpp2
2 files changed, 1 insertions, 4 deletions
diff --git a/edc/browser-view-control-bar.edc b/edc/browser-view-control-bar.edc
index e539f04..f77aba1 100755
--- a/edc/browser-view-control-bar.edc
+++ b/edc/browser-view-control-bar.edc
@@ -725,9 +725,6 @@ group { name: "elm/toolbar/item/browser/default";
group { name: "elm/toolbar/item/browser/item_horizontal";
inherit: "elm/toolbar/item/browser/default";
- script {
- public item_state = ITEM_STATE_ENABLED;
- }
parts {
part { name: "icon_rect";
description { state: "default" 0.0;
diff --git a/src/scissorbox/scissorbox.cpp b/src/scissorbox/scissorbox.cpp
index a41c621..83cf20e 100755
--- a/src/scissorbox/scissorbox.cpp
+++ b/src/scissorbox/scissorbox.cpp
@@ -575,7 +575,7 @@ Evas_Object *br_scissorbox_add(Evas_Object *parent)
wd = (Widget_Data *)ELM_NEW(Widget_Data);
- obj = elm_widget_add(e);
+ obj = elm_widget_add(NULL, e);
elm_widget_type_set(obj, "scissorbox");
elm_widget_sub_object_add(parent, obj);
elm_widget_data_set(obj, wd);