summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spin_button.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-05 17:38:07 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-08 19:56:36 +0200
commitc72ccdadfd0e57c4e15def02a7b199d3caad92ba (patch)
treeb9c710a516a45ad0b341d2e0c7e416c388c3a8ec /src/lib/elementary/efl_ui_spin_button.c
parentf4f4856758ba3cccd01e49172945875f5e5b0613 (diff)
efl_ui_spin_button: this function is 1:1 like this in efl_ui_spin
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9225
Diffstat (limited to 'src/lib/elementary/efl_ui_spin_button.c')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index 9d87aec..4c7aaf2 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -528,20 +528,6 @@ _efl_ui_spin_button_efl_ui_focus_object_on_focus_update(Eo *obj, Efl_Ui_Spin_But
528 return EINA_TRUE; 528 return EINA_TRUE;
529} 529}
530 530
531EOLIAN static void
532_efl_ui_spin_button_elm_layout_sizing_eval(Eo *obj, Efl_Ui_Spin_Button_Data *_pd EINA_UNUSED)
533{
534 Evas_Coord minw = -1, minh = -1;
535 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
536
537 elm_coords_finger_size_adjust(1, &minw, 1, &minh);
538 edje_object_size_min_restricted_calc
539 (wd->resize_obj, &minw, &minh, minw, minh);
540 elm_coords_finger_size_adjust(1, &minw, 1, &minh);
541 evas_object_size_hint_min_set(obj, minw, minh);
542 evas_object_size_hint_max_set(obj, -1, -1);
543}
544
545static char * 531static char *
546_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED) 532_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
547{ 533{
@@ -916,7 +902,4 @@ _efl_ui_spin_button_efl_access_object_i18n_name_get(const Eo *obj, Efl_Ui_Spin_B
916 902
917// A11Y Accessibility - END 903// A11Y Accessibility - END
918 904
919#define EFL_UI_SPIN_BUTTON_EXTRA_OPS \
920 ELM_LAYOUT_SIZING_EVAL_OPS(efl_ui_spin_button), \
921
922#include "efl_ui_spin_button.eo.c" 905#include "efl_ui_spin_button.eo.c"