summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-25 09:55:32 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-25 09:55:32 +0000
commit3a677118403300cf50ae581d7f5b62f7f7b6ae61 (patch)
treeefa6fe577ad994e508b350196fcb363586eea41c /legacy/ecore/src/lib/ecore_x/xlib
parent1205ecd5daaf5f36d8b1557d17c2f715dc7ab63e (diff)
Ecore: __UNUSED__ --> EINA_UNUSED
SVN revision: 79649
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/xlib')
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c10
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c4
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c8
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c14
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c6
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_vsync.c18
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c2
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c2
10 files changed, 38 insertions, 38 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
index 2b50ad0..d9b81bc 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x.c
@@ -1066,7 +1066,7 @@ ecore_x_bell(int percent)
1066 1066
1067static Eina_Bool 1067static Eina_Bool
1068_ecore_x_fd_handler(void *data, 1068_ecore_x_fd_handler(void *data,
1069 Ecore_Fd_Handler *fd_handler __UNUSED__) 1069 Ecore_Fd_Handler *fd_handler EINA_UNUSED)
1070{ 1070{
1071 Display *d; 1071 Display *d;
1072 1072
@@ -1096,7 +1096,7 @@ _ecore_x_fd_handler(void *data,
1096 1096
1097static Eina_Bool 1097static Eina_Bool
1098_ecore_x_fd_handler_buf(void *data, 1098_ecore_x_fd_handler_buf(void *data,
1099 Ecore_Fd_Handler *fd_handler __UNUSED__) 1099 Ecore_Fd_Handler *fd_handler EINA_UNUSED)
1100{ 1100{
1101 Display *d; 1101 Display *d;
1102 1102
@@ -1295,7 +1295,7 @@ static void _ecore_x_window_manage_error(void *data);
1295 1295
1296static int _ecore_x_window_manage_failed = 0; 1296static int _ecore_x_window_manage_failed = 0;
1297static void 1297static void
1298_ecore_x_window_manage_error(void *data __UNUSED__) 1298_ecore_x_window_manage_error(void *data EINA_UNUSED)
1299{ 1299{
1300 if ((ecore_x_error_request_get() == X_ChangeWindowAttributes) && 1300 if ((ecore_x_error_request_get() == X_ChangeWindowAttributes) &&
1301 (ecore_x_error_code_get() == BadAccess)) 1301 (ecore_x_error_code_get() == BadAccess))
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c
index 372470a..e4f74a7 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_dnd.c
@@ -88,13 +88,13 @@ _ecore_x_dnd_shutdown(void)
88} 88}
89 89
90static Eina_Bool 90static Eina_Bool
91_ecore_x_dnd_converter_copy(char *target __UNUSED__, 91_ecore_x_dnd_converter_copy(char *target EINA_UNUSED,
92 void *data, 92 void *data,
93 int size, 93 int size,
94 void **data_ret, 94 void **data_ret,
95 int *size_ret, 95 int *size_ret,
96 Ecore_X_Atom *tprop __UNUSED__, 96 Ecore_X_Atom *tprop EINA_UNUSED,
97 int *count __UNUSED__) 97 int *count EINA_UNUSED)
98{ 98{
99 XTextProperty text_prop; 99 XTextProperty text_prop;
100 char *mystr; 100 char *mystr;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
index 2e780aa..9ce7163 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_events.c
@@ -87,7 +87,7 @@ _ecore_x_mouse_down_info_get(int dev)
87} 87}
88 88
89static void 89static void
90_ecore_x_event_free_mouse_move(void *data __UNUSED__, 90_ecore_x_event_free_mouse_move(void *data EINA_UNUSED,
91 void *ev) 91 void *ev)
92{ 92{
93 Ecore_Event_Mouse_Move *e; 93 Ecore_Event_Mouse_Move *e;
@@ -137,7 +137,7 @@ ecore_x_event_mask_unset(Ecore_X_Window w,
137} 137}
138 138
139static void 139static void
140_ecore_x_event_free_xdnd_enter(void *data __UNUSED__, 140_ecore_x_event_free_xdnd_enter(void *data EINA_UNUSED,
141 void *ev) 141 void *ev)
142{ 142{
143 Ecore_X_Event_Xdnd_Enter *e; 143 Ecore_X_Event_Xdnd_Enter *e;
@@ -151,7 +151,7 @@ _ecore_x_event_free_xdnd_enter(void *data __UNUSED__,
151} 151}
152 152
153static void 153static void
154_ecore_x_event_free_selection_notify(void *data __UNUSED__, 154_ecore_x_event_free_selection_notify(void *data EINA_UNUSED,
155 void *ev) 155 void *ev)
156{ 156{
157 Ecore_X_Event_Selection_Notify *e; 157 Ecore_X_Event_Selection_Notify *e;
@@ -960,7 +960,7 @@ _ecore_x_event_handle_focus_out(XEvent *xevent)
960} 960}
961 961
962void 962void
963_ecore_x_event_handle_keymap_notify(XEvent *xevent __UNUSED__) 963_ecore_x_event_handle_keymap_notify(XEvent *xevent EINA_UNUSED)
964{ 964{
965 _ecore_x_last_event_mouse_move = 0; 965 _ecore_x_last_event_mouse_move = 0;
966 /* FIXME: handle this event type */ 966 /* FIXME: handle this event type */
@@ -1199,7 +1199,7 @@ _ecore_x_event_handle_configure_request(XEvent *xevent)
1199} 1199}
1200 1200
1201void 1201void
1202_ecore_x_event_handle_gravity_notify(XEvent *xevent __UNUSED__) 1202_ecore_x_event_handle_gravity_notify(XEvent *xevent EINA_UNUSED)
1203{ 1203{
1204 _ecore_x_last_event_mouse_move = 0; 1204 _ecore_x_last_event_mouse_move = 0;
1205 /* FIXME: handle this event type */ 1205 /* FIXME: handle this event type */
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
index 8f823a4..def8110 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_image.c
@@ -43,8 +43,8 @@ static int _ecore_x_image_shm_can = -1;
43static int _ecore_x_image_err = 0; 43static int _ecore_x_image_err = 0;
44 44
45static int 45static int
46_ecore_x_image_error_handler(Display *d __UNUSED__, 46_ecore_x_image_error_handler(Display *d EINA_UNUSED,
47 XErrorEvent *ev __UNUSED__) 47 XErrorEvent *ev EINA_UNUSED)
48{ 48{
49 _ecore_x_image_err = 1; 49 _ecore_x_image_err = 1;
50 return 0; 50 return 0;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
index 5a23a1b..3f08af8 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_netwm.c
@@ -1633,8 +1633,8 @@ ecore_x_netwm_moveresize_request_send(Ecore_X_Window win,
1633} 1633}
1634 1634
1635int 1635int
1636_ecore_x_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__, 1636_ecore_x_netwm_startup_info_begin(Ecore_X_Window win EINA_UNUSED,
1637 char *data __UNUSED__) 1637 char *data EINA_UNUSED)
1638{ 1638{
1639#if 0 1639#if 0
1640 Ecore_X_Startup_Info *info; 1640 Ecore_X_Startup_Info *info;
@@ -1682,8 +1682,8 @@ _ecore_x_netwm_startup_info_begin(Ecore_X_Window win __UNUSED__,
1682} 1682}
1683 1683
1684int 1684int
1685_ecore_x_netwm_startup_info(Ecore_X_Window win __UNUSED__, 1685_ecore_x_netwm_startup_info(Ecore_X_Window win EINA_UNUSED,
1686 char *data __UNUSED__) 1686 char *data EINA_UNUSED)
1687{ 1687{
1688#if 0 1688#if 0
1689 Ecore_X_Startup_Info *info; 1689 Ecore_X_Startup_Info *info;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
index 099f9f4..3e1d2d3 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_selection.c
@@ -607,8 +607,8 @@ ecore_x_selection_converter_text(char *target,
607 int size, 607 int size,
608 void **data_ret, 608 void **data_ret,
609 int *size_ret, 609 int *size_ret,
610 Ecore_X_Atom *targprop __UNUSED__, 610 Ecore_X_Atom *targprop EINA_UNUSED,
611 int *s __UNUSED__) 611 int *s EINA_UNUSED)
612{ 612{
613 XTextProperty text_prop; 613 XTextProperty text_prop;
614 char *mystr; 614 char *mystr;
@@ -820,7 +820,7 @@ static void *
820_ecore_x_selection_parser_files(const char *target, 820_ecore_x_selection_parser_files(const char *target,
821 void *_data, 821 void *_data,
822 int size, 822 int size,
823 int format __UNUSED__) 823 int format EINA_UNUSED)
824{ 824{
825 Ecore_X_Selection_Data_Files *sel; 825 Ecore_X_Selection_Data_Files *sel;
826 char *t, *data = _data; 826 char *t, *data = _data;
@@ -924,10 +924,10 @@ _ecore_x_selection_data_files_free(void *data)
924} 924}
925 925
926static void * 926static void *
927_ecore_x_selection_parser_text(const char *target __UNUSED__, 927_ecore_x_selection_parser_text(const char *target EINA_UNUSED,
928 void *_data, 928 void *_data,
929 int size, 929 int size,
930 int format __UNUSED__) 930 int format EINA_UNUSED)
931{ 931{
932 Ecore_X_Selection_Data_Text *sel; 932 Ecore_X_Selection_Data_Text *sel;
933 unsigned char *data = _data; 933 unsigned char *data = _data;
@@ -969,10 +969,10 @@ _ecore_x_selection_data_text_free(void *data)
969} 969}
970 970
971static void * 971static void *
972_ecore_x_selection_parser_targets(const char *target __UNUSED__, 972_ecore_x_selection_parser_targets(const char *target EINA_UNUSED,
973 void *data, 973 void *data,
974 int size, 974 int size,
975 int format __UNUSED__) 975 int format EINA_UNUSED)
976{ 976{
977 Ecore_X_Selection_Data_Targets *sel; 977 Ecore_X_Selection_Data_Targets *sel;
978 unsigned long *targets; 978 unsigned long *targets;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
index a4d40f6..4eec6b7 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_test.c
@@ -16,7 +16,7 @@ EAPI Eina_Bool
16#ifdef ECORE_XTEST 16#ifdef ECORE_XTEST
17ecore_x_test_fake_key_down(const char *key) 17ecore_x_test_fake_key_down(const char *key)
18#else 18#else
19ecore_x_test_fake_key_down(const char *key __UNUSED__) 19ecore_x_test_fake_key_down(const char *key EINA_UNUSED)
20#endif 20#endif
21{ 21{
22#ifdef ECORE_XTEST 22#ifdef ECORE_XTEST
@@ -48,7 +48,7 @@ EAPI Eina_Bool
48#ifdef ECORE_XTEST 48#ifdef ECORE_XTEST
49ecore_x_test_fake_key_up(const char *key) 49ecore_x_test_fake_key_up(const char *key)
50#else 50#else
51ecore_x_test_fake_key_up(const char *key __UNUSED__) 51ecore_x_test_fake_key_up(const char *key EINA_UNUSED)
52#endif 52#endif
53{ 53{
54#ifdef ECORE_XTEST 54#ifdef ECORE_XTEST
@@ -80,7 +80,7 @@ EAPI Eina_Bool
80#ifdef ECORE_XTEST 80#ifdef ECORE_XTEST
81ecore_x_test_fake_key_press(const char *key) 81ecore_x_test_fake_key_press(const char *key)
82#else 82#else
83ecore_x_test_fake_key_press(const char *key __UNUSED__) 83ecore_x_test_fake_key_press(const char *key EINA_UNUSED)
84#endif 84#endif
85{ 85{
86#ifdef ECORE_XTEST 86#ifdef ECORE_XTEST
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_vsync.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_vsync.c
index 4296bb2..a316a33 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_vsync.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_vsync.c
@@ -129,32 +129,32 @@ _dri_drm_tick_schedule(void)
129} 129}
130 130
131static void 131static void
132_dri_drm_tick_begin(void *data __UNUSED__) 132_dri_drm_tick_begin(void *data EINA_UNUSED)
133{ 133{
134 drm_event_is_busy = 1; 134 drm_event_is_busy = 1;
135 _dri_drm_tick_schedule(); 135 _dri_drm_tick_schedule();
136} 136}
137 137
138static void 138static void
139_dri_drm_tick_end(void *data __UNUSED__) 139_dri_drm_tick_end(void *data EINA_UNUSED)
140{ 140{
141 drm_event_is_busy = 0; 141 drm_event_is_busy = 0;
142} 142}
143 143
144static void 144static void
145_dri_drm_vblank_handler(int fd __UNUSED__, 145_dri_drm_vblank_handler(int fd EINA_UNUSED,
146 unsigned int frame __UNUSED__, 146 unsigned int frame EINA_UNUSED,
147 unsigned int sec __UNUSED__, 147 unsigned int sec EINA_UNUSED,
148 unsigned int usec __UNUSED__, 148 unsigned int usec EINA_UNUSED,
149 void *data __UNUSED__) 149 void *data EINA_UNUSED)
150{ 150{
151 ecore_animator_custom_tick(); 151 ecore_animator_custom_tick();
152 if (drm_event_is_busy) _dri_drm_tick_schedule(); 152 if (drm_event_is_busy) _dri_drm_tick_schedule();
153} 153}
154 154
155static Eina_Bool 155static Eina_Bool
156_dri_drm_cb(void *data __UNUSED__, 156_dri_drm_cb(void *data EINA_UNUSED,
157 Ecore_Fd_Handler *fd_handler __UNUSED__) 157 Ecore_Fd_Handler *fd_handler EINA_UNUSED)
158{ 158{
159 sym_drmHandleEvent(drm_fd, &drm_evctx); 159 sym_drmHandleEvent(drm_fd, &drm_evctx);
160 return ECORE_CALLBACK_RENEW; 160 return ECORE_CALLBACK_RENEW;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
index 843694c..36fc5cc 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
@@ -1204,7 +1204,7 @@ ecore_x_window_shadow_tree_at_xy_with_skip_get(Ecore_X_Window base,
1204 * @ingroup Ecore_X_Window_Geometry_Group 1204 * @ingroup Ecore_X_Window_Geometry_Group
1205 */ 1205 */
1206EAPI Ecore_X_Window 1206EAPI Ecore_X_Window
1207ecore_x_window_shadow_parent_get(Ecore_X_Window root __UNUSED__, 1207ecore_x_window_shadow_parent_get(Ecore_X_Window root EINA_UNUSED,
1208 Ecore_X_Window win) 1208 Ecore_X_Window win)
1209{ 1209{
1210 Shadow *s; 1210 Shadow *s;
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
index a582453..535c521 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window_prop.c
@@ -503,7 +503,7 @@ EAPI int
503ecore_x_window_prop_property_get(Ecore_X_Window win, 503ecore_x_window_prop_property_get(Ecore_X_Window win,
504 Ecore_X_Atom property, 504 Ecore_X_Atom property,
505 Ecore_X_Atom type, 505 Ecore_X_Atom type,
506 int size __UNUSED__, 506 int size EINA_UNUSED,
507 unsigned char **data, 507 unsigned char **data,
508 int *num) 508 int *num)
509{ 509{