hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=490bfc9f5c22167b9b93636fea92dc2026351f1e

commit 490bfc9f5c22167b9b93636fea92dc2026351f1e
Author: ChunEon Park <chuneon.p...@samsung.com>
Date:   Thu May 14 20:40:17 2015 +0900

    Revert "ecore-evas: Added support for setting/getting window auxiliary 
hints"
    
    This reverts commit 365e390a370d6464ec6b606123272e44fd018158.
    
    Eeeek. Sorry I didn't mean this submitting.
---
 src/lib/ecore_evas/Ecore_Evas.h | 35 -------------------
 src/lib/ecore_evas/ecore_evas.c | 77 -----------------------------------------
 2 files changed, 112 deletions(-)

diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h
index db7e8cc..464c470 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -836,41 +836,6 @@ EAPI Eina_Bool        ecore_evas_aux_hint_del(Ecore_Evas 
*ee, const int id);
  */
 EAPI Eina_Bool        ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int 
id, const char *val);
 /**
- * @brief Get a value of the auxiliary hint.
- *
- * @param ee The Ecore_Evas
- * @param id The auxiliary hint ID.
- * @return The string value of the auxiliary hint ID, or NULL if none exists
- * @warning Support for this depends on the underlying windowing system.
- *
- * @since 1.15
- */
-EAPI const char      *ecore_evas_aux_hint_val_get(const Ecore_Evas *ee, const 
int id);
-/**
- * @brief Change a value of the auxiliary hint by using hit string.
- *
- * @param ee The Ecore_Evas to set
- * @param hint The auxiliary hint string.
- * @param val The value string to be set.
- * @return @c EINA_TRUE if no error occurred, @c EINA_FALSE otherwise.
- * @warning Support for this depends on the underlying windowing system.
- *
- * @since 1.15
- */
-EAPI Eina_Bool        ecore_evas_aux_hint_string_val_set(Ecore_Evas *ee, const 
char *hint, const char *val);
-/**
- * @brief Get a value of the auxiliary hint by using hit string.
- *
- * @param ee The Ecore_Evas
- * @param hint The auxiliary hint string.
- * @return The string value of the auxiliary hint string, or NULL if none 
exists
- * @warning Support for this depends on the underlying windowing system.
- *
- * @since 1.15
- */
-EAPI const char      *ecore_evas_aux_hint_string_val_get(const Ecore_Evas *ee, 
const char *hint);
-
-/**
  * @brief Send message to parent ecore
  *
  * @param ee The Ecore_Evas to set
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index d9260e0..c65ae97 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2324,83 +2324,6 @@ ecore_evas_aux_hint_val_set(Ecore_Evas *ee, const int 
id, const char *val)
    return EINA_TRUE;
 }
 
-EAPI const char *
-ecore_evas_aux_hint_val_get(const Ecore_Evas *ee, const int id)
-{
-   if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
-     {
-        ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
-                         "ecore_evas_aux_hint_val_get");
-        return NULL;
-     }
-
-   Eina_List *ll;
-   Ecore_Evas_Aux_Hint *aux;
-   EINA_LIST_FOREACH(ee->prop.aux_hint.hints, ll, aux)
-     {
-        if (id == aux->id) return aux->val;
-     }
-
-   return NULL;
-}
-
-EAPI Eina_Bool
-ecore_evas_aux_hint_string_val_set(Ecore_Evas *ee, const char *hint, const 
char *val)
-{
-   if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
-     {
-        ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
-                         "ecore_evas_aux_hint_string_val_set");
-        return EINA_FALSE;
-     }
-
-   Eina_List *ll;
-   Ecore_Evas_Aux_Hint *aux;
-   EINA_LIST_FOREACH(ee->prop.aux_hint.hints, ll, aux)
-     {
-        if (!strcmp(hint,aux->hint))
-          {
-             eina_stringshare_del(aux->val);
-             aux->val = eina_stringshare_add(val);
-             aux->allowed = 0;
-             aux->notified = 0;
-
-             Eina_Strbuf *buf = _ecore_evas_aux_hints_string_get(ee);
-             if (buf)
-               {
-                  if (ee->engine.func->fn_aux_hints_set)
-                    ee->engine.func->fn_aux_hints_set(ee, 
eina_strbuf_string_get(buf));
-
-                  eina_strbuf_free(buf);
-
-                  return EINA_TRUE;
-               }
-          }
-     }
-
-   return EINA_FALSE;
-}
-
-EAPI const char *
-ecore_evas_aux_hint_string_val_get(const Ecore_Evas *ee, const char *hint)
-{
-   if (!ECORE_MAGIC_CHECK(ee, ECORE_MAGIC_EVAS))
-     {
-        ECORE_MAGIC_FAIL(ee, ECORE_MAGIC_EVAS,
-                         "ecore_evas_aux_hint_string_val_get");
-        return NULL;
-     }
-
-   Eina_List *ll;
-   Ecore_Evas_Aux_Hint *aux;
-   EINA_LIST_FOREACH(ee->prop.aux_hint.hints, ll, aux)
-     {
-        if (!strcmp(hint,aux->hint)) return aux->val;
-     }
-
-   return NULL;
-}
-
 EAPI void
 ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on)
 {

-- 


Reply via email to