elm_colorselector: remove all legacy usage from eo files

this takes the current generated output from eolian for legacy code in
efl and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree

ref T7724

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8161
This commit is contained in:
Mike Blumenkrantz 2019-03-05 17:00:37 -05:00 committed by Cedric BAIL
parent c5ae5f1d31
commit 4e1ec2d3e9
9 changed files with 13 additions and 9 deletions

View File

@ -187,7 +187,6 @@ elm_private_eolian_files = \
elm_legacy_eolian_files = \
lib/elementary/efl_ui_clock_legacy.eo \
lib/elementary/elm_interface_fileselector.eo \
lib/elementary/elm_colorselector.eo \
lib/elementary/elm_conformant.eo \
lib/elementary/elm_ctxpopup.eo \
lib/elementary/elm_dayselector.eo \
@ -339,6 +338,8 @@ lib/elementary/elm_code_widget_eo.legacy.c \
lib/elementary/elm_code_widget_legacy_eo.c \
lib/elementary/elm_color_item_eo.legacy.c \
lib/elementary/elm_color_item_eo.c \
lib/elementary/elm_colorselector_eo.legacy.c \
lib/elementary/elm_colorselector_eo.c \
lib/elementary/elm_hoversel_eo.c \
lib/elementary/elm_hoversel_item_eo.c \
lib/elementary/elm_hoversel_item_eo.legacy.c
@ -406,6 +407,8 @@ lib/elementary/elm_code_widget_legacy_eo.h \
lib/elementary/elm_code_widget_legacy_eo.legacy.h \
lib/elementary/elm_color_item_eo.h \
lib/elementary/elm_color_item_eo.legacy.h \
lib/elementary/elm_colorselector_eo.h \
lib/elementary/elm_colorselector_eo.legacy.h \
lib/elementary/elm_hoversel_eo.h \
lib/elementary/elm_hoversel_eo.legacy.h \
lib/elementary/elm_hoversel_item_eo.h \

View File

@ -3,7 +3,7 @@
#endif
#include <Elementary.h>
#include "elm_colorselector.eo.h"
#include "elm_colorselector_eo.h"
static void
_cb_size_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)

View File

@ -3,7 +3,7 @@
#endif
#include <Elementary.h>
#include "elm_colorselector.eo.h"
#include "elm_colorselector_eo.h"
static const int default_font_size = 48;

View File

@ -5,7 +5,7 @@
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_color_class.h"
#include "elm_colorselector.eo.h"
#include "elm_colorselector_eo.h"
//static Eldbus_Proxy *cc_proxy;
//static Ecore_Event_Handler *h1;

View File

@ -2749,5 +2749,5 @@ ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(elm_colorselector, Elm_Colorselector_Data)
ELM_LAYOUT_SIZING_EVAL_OPS(elm_colorselector), \
EFL_CANVAS_GROUP_ADD_DEL_OPS(elm_colorselector)
#include "elm_colorselector.eo.c"
#include "elm_colorselector_eo.c"
#include "elm_color_item_eo.c"

View File

@ -148,4 +148,4 @@ static const Efl_Class_Description _elm_colorselector_class_desc = {
EFL_DEFINE_CLASS(elm_colorselector_class_get, &_elm_colorselector_class_desc, EFL_UI_LAYOUT_BASE_CLASS, EFL_UI_FOCUS_COMPOSITION_MIXIN, EFL_ACCESS_WIDGET_ACTION_MIXIN, EFL_UI_CLICKABLE_INTERFACE, EFL_UI_LEGACY_INTERFACE, NULL);
#include "elm_colorselector.eo.legacy.c"
#include "elm_colorselector_eo.legacy.c"

View File

@ -8,4 +8,4 @@
*/
EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent);
#include "elm_colorselector.eo.legacy.h"
#include "elm_colorselector_eo.legacy.h"

View File

@ -3,7 +3,7 @@
#include "Elementary.h"
#include "elm_color_item_eo.h"
#include "elm_colorselector.eo.h"
#include "elm_colorselector_eo.h"
/* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR
* CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT

View File

@ -1,7 +1,6 @@
pub_legacy_eo_files = [
'efl_ui_clock_legacy.eo',
'elm_interface_fileselector.eo',
'elm_colorselector.eo',
'elm_conformant.eo',
'elm_ctxpopup.eo',
'elm_dayselector.eo',
@ -732,6 +731,8 @@ elementary_pub_headers = [
'elm_code_widget_legacy_eo.legacy.h',
'elm_color_item_eo.h',
'elm_color_item_eo.legacy.h',
'elm_colorselector_eo.h',
'elm_colorselector_eo.legacy.h',
'elm_hoversel_eo.h',
'elm_hoversel_eo.legacy.h',
'elm_hoversel_item_eo.h',