Fixing build breakage caused by updated EFL 58/2458/1
authorRusty Lynch <rusty.lynch@intel.com>
Fri, 30 Nov 2012 18:45:31 +0000 (10:45 -0800)
committerRusty Lynch <rusty.lynch@intel.com>
Fri, 30 Nov 2012 18:45:31 +0000 (10:45 -0800)
The new EFL libs are stricter about invalid edc code and also the
elm_widget_add functionality has changed.

edc/browser-view-control-bar.edc
src/scissorbox/scissorbox.cpp

index e539f04..f77aba1 100755 (executable)
@@ -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;
index a41c621..83cf20e 100755 (executable)
@@ -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);