summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_diskselector.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_diskselector.c')
-rw-r--r--src/lib/elementary/elm_diskselector.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/elementary/elm_diskselector.c b/src/lib/elementary/elm_diskselector.c
index 6994f8d..373b398 100644
--- a/src/lib/elementary/elm_diskselector.c
+++ b/src/lib/elementary/elm_diskselector.c
@@ -9,10 +9,11 @@
9 9
10#include <Elementary.h> 10#include <Elementary.h>
11#include "elm_priv.h" 11#include "elm_priv.h"
12#include "elm_diskselector.eo.h" 12#include "elm_diskselector_eo.h"
13#include "elm_diskselector_item.eo.h" 13#include "elm_diskselector_item_eo.h"
14#include "elm_widget_diskselector.h" 14#include "elm_widget_diskselector.h"
15#include "elm_interface_scrollable.h" 15#include "elm_interface_scrollable.h"
16#include "elm_pan_eo.h"
16 17
17#define DISPLAY_ITEM_NUM_MIN 3 18#define DISPLAY_ITEM_NUM_MIN 3
18 19
@@ -811,18 +812,18 @@ _theme_data_get(Evas_Object *obj)
811 else sd->minh = -1; 812 else sd->minh = -1;
812} 813}
813 814
814EOLIAN static Efl_Ui_Theme_Apply_Result 815EOLIAN static Eina_Error
815_elm_diskselector_efl_ui_widget_theme_apply(Eo *obj, Elm_Diskselector_Data *sd) 816_elm_diskselector_efl_ui_widget_theme_apply(Eo *obj, Elm_Diskselector_Data *sd)
816{ 817{
817 Eina_List *l; 818 Eina_List *l;
818 Elm_Diskselector_Item_Data *it; 819 Elm_Diskselector_Item_Data *it;
819 Evas_Object *blank; 820 Evas_Object *blank;
820 Efl_Ui_Theme_Apply_Result int_ret = EFL_UI_THEME_APPLY_RESULT_FAIL; 821 Eina_Error int_ret = EFL_UI_THEME_APPLY_ERROR_GENERIC;
821 Evas *evas; 822 Evas *evas;
822 const char *style = elm_widget_style_get(obj); 823 const char *style = elm_widget_style_get(obj);
823 824
824 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS)); 825 int_ret = efl_ui_widget_theme_apply(efl_super(obj, MY_CLASS));
825 if (!int_ret) return EFL_UI_THEME_APPLY_RESULT_FAIL; 826 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
826 827
827 evas = evas_object_evas_get(obj); 828 evas = evas_object_evas_get(obj);
828 evas_event_freeze(evas); 829 evas_event_freeze(evas);
@@ -1789,5 +1790,5 @@ ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(elm_diskselector, Elm_Diskselector_Data)
1789#define ELM_DISKSELECTOR_EXTRA_OPS \ 1790#define ELM_DISKSELECTOR_EXTRA_OPS \
1790 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_diskselector) 1791 EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_diskselector)
1791 1792
1792#include "elm_diskselector.eo.c" 1793#include "elm_diskselector_eo.c"
1793#include "elm_diskselector_item.eo.c" 1794#include "elm_diskselector_item_eo.c"