e_policy: remove unused code 94/82494/2
authorMinJeong Kim <minjjj.kim@samsung.com>
Tue, 2 Aug 2016 09:00:30 +0000 (18:00 +0900)
committerGwanglim Lee <gl77.lee@samsung.com>
Thu, 4 Aug 2016 00:58:43 +0000 (17:58 -0700)
Change-Id: I05ccc786f8ed4b5470419f53761ebcbcf98413d6
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/bin/e_policy.h
src/bin/e_policy_wl.h

index d55fcbc1628427b968b256d7086a97378873f4fc..6065adb6de238199bb3c988bd1336eff625b0f88 100644 (file)
@@ -4,7 +4,6 @@ typedef struct _E_Policy_Client   E_Policy_Client;
 typedef struct _E_Policy_Softkey  E_Policy_Softkey;
 typedef struct _E_Policy_Config_Match E_Policy_Config_Match;
 typedef struct _E_Policy_Config_Desk  E_Policy_Config_Desk;
-typedef struct _E_Policy_Config_Rot   E_Policy_Config_Rot;
 typedef struct _E_Policy_Config       E_Policy_Config;
 typedef struct _E_Policy          E_Policy;
 typedef struct _E_Policy_System_Info E_Policy_System_Info;
@@ -12,14 +11,6 @@ typedef struct _E_Policy_System_Info E_Policy_System_Info;
 # else
 # ifndef E_POLICY_H
 # define E_POLICY_H
-#  ifndef _
-#    ifdef HAVE_GETTEXT
-#  define _(str) gettext(str)
-#    else
-#  define _(str) (str)
-#    endif
-#  endif
-
 struct _E_Policy_Desk
 {
    E_Desk          *desk;
@@ -139,7 +130,6 @@ EINTERN void             e_policy_stack_below(E_Client *ec, E_Client *below_ec);
 EINTERN void             e_policy_stack_clients_restack_above_lockscreen(E_Client *ec_lock, Eina_Bool show);
 EINTERN Eina_Bool        e_policy_stack_check_above_lockscreen(E_Client *ec, E_Layer layer, E_Layer *new_layer, Eina_Bool set_layer);
 
-EINTERN Eina_Bool        e_policy_conf_rot_enable_get(int angle);
 
 E_API Eina_Bool e_policy_aux_message_use_get(E_Client *ec);
 E_API void      e_policy_aux_message_send(E_Client *ec, const char *key, const char *val, Eina_List *options);
index 280a783e1133ae027679df72002673efc627013f..472211727a6ccc0ae0feb445affda2a02f44b260 100644 (file)
@@ -2,7 +2,6 @@
 #define E_MOD_WL_H
 
 #include "config.h"
-#ifdef HAVE_WAYLAND_ONLY
 #include <e.h>
 
 Eina_Bool e_policy_wl_init(void);
@@ -47,5 +46,4 @@ EINTERN void e_tzsh_indicator_srv_ower_win_update(E_Zone *zone);
 /* indicator */
 void         e_policy_wl_indicator_flick_send(E_Client *ec);
 
-#endif /* HAVE_WAYLAND_ONLY */
 #endif /* E_MOD_WL_H */