From 3d8c89c11717bc607336dccc82baffe5112a2d16 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 10 Mar 2010 07:21:10 +0000 Subject: [PATCH] remove deprecated calls (been deprecated for a while now) SVN revision: 47100 --- src/lib/Elementary.h.in | 4 ---- src/lib/elm_button.c | 16 ---------------- src/lib/elm_frame.c | 16 ---------------- src/lib/elm_hover.c | 7 ------- src/lib/elm_win.c | 7 ------- 5 files changed, 50 deletions(-) diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in index 1a17d5a..b571d0f 100644 --- a/src/lib/Elementary.h.in +++ b/src/lib/Elementary.h.in @@ -305,7 +305,6 @@ extern "C" { EAPI Evas_Object *elm_win_inwin_add(Evas_Object *obj); EAPI void elm_win_inwin_activate(Evas_Object *obj); - EINA_DEPRECATED EAPI void elm_win_inwin_style_set(Evas_Object *obj, const char *style); EAPI void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content); /* available styles: * default @@ -385,7 +384,6 @@ extern "C" { EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on); EAPI void elm_button_autorepeat_initital_timeout_set(Evas_Object *obj, double t); EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t); - EINA_DEPRECATED EAPI void elm_button_style_set(Evas_Object *obj, const char *style); /* available styles: * default * anchor @@ -459,7 +457,6 @@ extern "C" { EAPI void elm_frame_label_set(Evas_Object *obj, const char *label); EAPI const char *elm_frame_label_get(Evas_Object *obj); EAPI void elm_frame_content_set(Evas_Object *obj, Evas_Object *content); - EINA_DEPRECATED EAPI void elm_frame_style_set(Evas_Object *obj, const char *style); /* available styles: * default * pad_small @@ -529,7 +526,6 @@ extern "C" { EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target); EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent); EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content); - EINA_DEPRECATED EAPI void elm_hover_style_set(Evas_Object *obj, const char *style); EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis); /* available styles: * default diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c index 73abbaf..b947c19 100644 --- a/src/lib/elm_button.c +++ b/src/lib/elm_button.c @@ -325,22 +325,6 @@ elm_button_icon_get(Evas_Object *obj) } /** - * Set the button style - * - * @param obj The button object - * @param style The style for the button - * - * DEPRECATED. use elm_object_style_set() instead - * - * @ingroup Button - */ -EAPI void -elm_button_style_set(Evas_Object *obj, const char *style) -{ - elm_widget_style_set(obj, style); -} - -/** * Turn on/off the autorepeat event generated when the user keeps pressing on the button * * @param obj The button object diff --git a/src/lib/elm_frame.c b/src/lib/elm_frame.c index 4b693f4..bf56ed5 100644 --- a/src/lib/elm_frame.c +++ b/src/lib/elm_frame.c @@ -178,19 +178,3 @@ elm_frame_content_set(Evas_Object *obj, Evas_Object *content) _sizing_eval(obj); } } - -/** - * Set the frame style - * - * @param obj The frame object - * @param style The style will be applied in this frame - * - * DEPRECATED. use elm_object_style_set() instead - * - * @ingroup Frame - */ -EAPI void -elm_frame_style_set(Evas_Object *obj, const char *style) -{ - elm_widget_style_set(obj, style); -} diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c index 8785f56..616f9a0 100644 --- a/src/lib/elm_hover.c +++ b/src/lib/elm_hover.c @@ -381,13 +381,6 @@ elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *conten } } -/** DEPRECATED. use elm_object_style_set() instead */ -EAPI void -elm_hover_style_set(Evas_Object *obj, const char *style) -{ - elm_widget_style_set(obj, style); -} - EAPI const char * elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis) { diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index caef76c..81729ce 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -1243,13 +1243,6 @@ elm_win_inwin_add(Evas_Object *obj) return obj2; } -/** DEPRECATED. use elm_object_style_set() instead */ -EAPI void -elm_win_inwin_style_set(Evas_Object *obj, const char *style) -{ - elm_widget_style_set(obj, style); -} - EAPI void elm_win_inwin_activate(Evas_Object *obj) { -- 2.7.4