From: seoz Date: Tue, 21 Feb 2012 02:57:33 +0000 (+0000) Subject: elm: Removed deprecated elm_pager from edje_externals. X-Git-Tag: REL_F_I9500_20120323_1~17^2~627 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14e1852345b598d26413d50ba8ea98c3bb879782;p=framework%2Fuifw%2Felementary.git elm: Removed deprecated elm_pager from edje_externals. Signed-off-by: Daniel Juyung Seo git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68186 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/edje_externals/Makefile.am b/src/edje_externals/Makefile.am index d65af2a..86dcffc 100644 --- a/src/edje_externals/Makefile.am +++ b/src/edje_externals/Makefile.am @@ -53,7 +53,6 @@ elm_map.c \ elm_multibuttonentry.c \ elm_naviframe.c \ elm_notify.c \ -elm_pager.c \ elm_panes.c \ elm_photocam.c \ elm_progressbar.c \ diff --git a/src/edje_externals/elm_pager.c b/src/edje_externals/elm_pager.c deleted file mode 100644 index b34557d..0000000 --- a/src/edje_externals/elm_pager.c +++ /dev/null @@ -1,65 +0,0 @@ -#include "private.h" - -typedef struct _Elm_Params_Pager -{ - Elm_Params base; -} Elm_Params_Pager; - -static void -external_pager_state_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const void *from_params __UNUSED__, const void *to_params __UNUSED__, float pos __UNUSED__) -{ -} - -static Eina_Bool -external_pager_param_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Edje_External_Param *param) -{ - - ERR("unknown parameter '%s' of type '%s'", - param->name, edje_external_param_type_str(param->type)); - - return EINA_FALSE; -} - -static Eina_Bool -external_pager_param_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, Edje_External_Param *param) -{ - ERR("unknown parameter '%s' of type '%s'", - param->name, edje_external_param_type_str(param->type)); - - return EINA_FALSE; -} - -static void * -external_pager_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params __UNUSED__) -{ - Elm_Params_Pager *mem; - - mem = ELM_NEW(Elm_Params_Pager); - if (!mem) - return NULL; - - return mem; -} - -static Evas_Object *external_pager_content_get(void *data __UNUSED__, - const Evas_Object *obj __UNUSED__, const char *content __UNUSED__) -{ - ERR("No content."); - return NULL; -} - -static void -external_pager_params_free(void *params) -{ - Elm_Params_Pager *mem = params; - - free(mem); -} - -static Edje_External_Param_Info external_pager_params[] = { - DEFINE_EXTERNAL_COMMON_PARAMS, - EDJE_EXTERNAL_PARAM_INFO_SENTINEL -}; - -DEFINE_EXTERNAL_ICON_ADD(pager, "pager") -DEFINE_EXTERNAL_TYPE_SIMPLE(pager, "Pager");