From 40573af699952207368e4659e3cc6ccac85ace99 Mon Sep 17 00:00:00 2001 From: "deasung.kim" Date: Mon, 20 Feb 2012 14:33:21 +0900 Subject: [PATCH] [elm_cbhm] remove elm_cbhm_helper's vestiges Change-Id: I5cb9b28a2e1714ffcdfbbee954738e9dd8d695f6 --- src/lib/elm_entry.c | 19 ------------------- src/lib/elm_priv.h | 3 --- 2 files changed, 22 deletions(-) diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 1caad85..d21d6b8 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -1360,25 +1360,6 @@ _cancel(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) edje_object_part_text_select_none(wd->ent, "elm.text"); } -static void -_clipboard_menu(void *data, Evas_Object *obj, void *event_info __UNUSED__) -{ - Widget_Data *wd = elm_widget_data_get(data); - if (!wd) return; - - // start for cbhm -#ifdef HAVE_ELEMENTARY_X - ecore_x_selection_secondary_set(elm_win_xwindow_get(obj), "",1); -#endif - cnpwidgetdata = data; - elm_cbhm_helper_init(obj); - if (elm_entry_cnp_mode_get(obj) != ELM_CNP_MODE_MARKUP) - elm_cbhm_send_raw_data("show0"); - else - elm_cbhm_send_raw_data("show1"); - // end for cbhm -} - // start for cbhm static void _cnpinit(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h index fbadbe5..2c649df 100644 --- a/src/lib/elm_priv.h +++ b/src/lib/elm_priv.h @@ -264,9 +264,6 @@ Evas_Object *_elm_scroller_edje_object_get(Evas_Object *obj); char *_elm_util_mkup_to_text(const char *mkup); char *_elm_util_text_to_mkup(const char *text); -/* do not use except clipboard history module */ -EAPI Eina_Bool elm_cbhm_helper_init(Evas_Object *self); -EAPI void elm_cbhm_send_raw_data(char *cmd); Eina_Bool _elm_video_check(Evas_Object *video); -- 2.7.4