summaryrefslogtreecommitdiff
path: root/src/bin/controls.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-08-27 15:36:50 +0200
committerBoris Faure <billiob@gmail.com>2013-08-27 15:36:50 +0200
commit30392f23a9b824b57adccdc7972420f45995b303 (patch)
treef0a80a0e01c0598bc06946a059eecba0d795dea8 /src/bin/controls.c
parent2429f7d3ad0164272cfda2534da37fb1938d9752 (diff)
s/__UNUSED__/EINA_UNUSED/g
Diffstat (limited to 'src/bin/controls.c')
-rw-r--r--src/bin/controls.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index 0b04bf3..ec697a3 100644
--- a/src/bin/controls.c
+++ b/src/bin/controls.c
@@ -16,7 +16,7 @@ static void (*ct_donecb) (void *data) = NULL;
16static void *ct_donedata = NULL; 16static void *ct_donedata = NULL;
17 17
18static Eina_Bool 18static Eina_Bool
19_cb_ct_del_delay(void *data __UNUSED__) 19_cb_ct_del_delay(void *data EINA_UNUSED)
20{ 20{
21 if (ct_over) 21 if (ct_over)
22 { 22 {
@@ -34,77 +34,77 @@ _cb_ct_del_delay(void *data __UNUSED__)
34} 34}
35 35
36static void 36static void
37_cb_ct_copy(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 37_cb_ct_copy(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
38{ 38{
39 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 39 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
40 termio_copy_clipboard(data); 40 termio_copy_clipboard(data);
41} 41}
42 42
43static void 43static void
44_cb_ct_paste(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 44_cb_ct_paste(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
45{ 45{
46 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 46 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
47 termio_paste_clipboard(data); 47 termio_paste_clipboard(data);
48} 48}
49 49
50static void 50static void
51_cb_ct_new(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 51_cb_ct_new(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
52{ 52{
53 main_new(ct_win, ct_term); 53 main_new(ct_win, ct_term);
54} 54}
55 55
56static void 56static void
57_cb_ct_split_v(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 57_cb_ct_split_v(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
58{ 58{
59 main_split_v(ct_win, ct_term); 59 main_split_v(ct_win, ct_term);
60} 60}
61 61
62static void 62static void
63_cb_ct_split_h(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 63_cb_ct_split_h(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
64{ 64{
65 main_split_h(ct_win, ct_term); 65 main_split_h(ct_win, ct_term);
66} 66}
67 67
68static void 68static void
69_cb_ct_close(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 69_cb_ct_close(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
70{ 70{
71 main_close(ct_win, ct_term); 71 main_close(ct_win, ct_term);
72} 72}
73 73
74static void 74static void
75_cb_ct_options(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 75_cb_ct_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
76{ 76{
77 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 77 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
78 options_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 78 options_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
79} 79}
80 80
81static void 81static void
82_cb_ct_about(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event __UNUSED__) 82_cb_ct_about(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
83{ 83{
84 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 84 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
85 about_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 85 about_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
86} 86}
87 87
88static void 88static void
89_cb_mouse_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *ev __UNUSED__) 89_cb_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
90{ 90{
91 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata); 91 controls_toggle(ct_win, ct_bg, ct_term, ct_donecb, ct_donedata);
92} 92}
93 93
94static void 94static void
95_cb_frame_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *ev __UNUSED__) 95_cb_frame_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
96{ 96{
97 ct_frame = NULL; 97 ct_frame = NULL;
98} 98}
99 99
100static void 100static void
101_cb_over_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *ev __UNUSED__) 101_cb_over_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
102{ 102{
103 ct_over = NULL; 103 ct_over = NULL;
104} 104}
105 105
106static void 106static void
107_cb_saved_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *ev __UNUSED__) 107_cb_saved_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev EINA_UNUSED)
108{ 108{
109 if ((obj == ct_win) || (obj == ct_term)) 109 if ((obj == ct_win) || (obj == ct_term))
110 { 110 {