summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2014-05-14 17:15:45 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2014-05-14 17:15:45 +0200
commitb01528c8a6287e8f1ccf842f8462b5e94b53e2de (patch)
tree0448debb31405b38d6727ffe0e63c9090d39d9da
parentc28e179ddbef36349321909c6decb3f09aef4885 (diff)
Revert "entrance: added new functions to access the user pools"
This reverts commit 9a5514c6e41afbddd91935448f24fdf94597a86b.
-rw-r--r--src/bin/entrance_gui.c26
-rw-r--r--src/bin/entrance_gui.h2
2 files changed, 0 insertions, 28 deletions
diff --git a/src/bin/entrance_gui.c b/src/bin/entrance_gui.c
index fa42125..2df76f7 100644
--- a/src/bin/entrance_gui.c
+++ b/src/bin/entrance_gui.c
@@ -491,32 +491,6 @@ entrance_gui_conf_set(const Entrance_Conf_Gui_Event *conf)
491 _gui->changed = ~(ENTRANCE_CONF_NONE); 491 _gui->changed = ~(ENTRANCE_CONF_NONE);
492 _entrance_gui_update(); 492 _entrance_gui_update();
493} 493}
494static Entrance_User_Pool*
495_entrance_gui_user_pool_get(const char *name)
496{
497 Eina_List *node;
498 Entrance_User_Pool *pool;
499 EINA_LIST_FOREACH(_gui->user_pools, node, pool)
500 {
501 if (!strcmp(pool->name, name))
502 {
503 return pool;
504 }
505 }
506 return NULL;
507}
508
509Eina_List*
510entrance_gui_user_icon_pool_get(const char *name)
511{
512 return _entrance_gui_user_pool_get(name)->icon_pool;
513}
514
515Eina_List*
516entrance_gui_user_background_pool_get(const char *name)
517{
518 return _entrance_gui_user_pool_get(name)->background_pool;
519}
520 494
521void 495void
522entrance_gui_pools_set(const Entrance_Pools *pool) 496entrance_gui_pools_set(const Entrance_Pools *pool)
diff --git a/src/bin/entrance_gui.h b/src/bin/entrance_gui.h
index 75d2e23..61fdf30 100644
--- a/src/bin/entrance_gui.h
+++ b/src/bin/entrance_gui.h
@@ -31,8 +31,6 @@ void entrance_gui_user_bg_set(const char *path, const char *group);
31Eina_List* entrance_gui_background_pool_get(void); 31Eina_List* entrance_gui_background_pool_get(void);
32Eina_List* entrance_gui_icon_pool_get(void); 32Eina_List* entrance_gui_icon_pool_get(void);
33void entrance_gui_pools_set(const Entrance_Pools *pool); 33void entrance_gui_pools_set(const Entrance_Pools *pool);
34Eina_List* entrance_gui_user_icon_pool_get(const char *name);
35Eina_List* entrance_gui_user_background_pool_get(const char *name);
36 34
37/* 35/*
38char *entrance_gui_user_get(); 36char *entrance_gui_user_get();