summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-07 09:27:07 -0400
committerChristopher Michael <devilhorns@comcast.net>2020-05-07 09:27:07 -0400
commitd135957ffa0ae429f4ca22662de8633771984485 (patch)
tree8dcacdd71c83d4c5a7ffb239e428dd81e5d725df /src/lib/elementary
parentde939ca64b3d17ee786f3fc621314fce1746334e (diff)
Use __func__ C99 identifier instead of __FUNCTION__ compiler extension
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_win.c18
-rw-r--r--src/lib/elementary/elm_gesture_layer_extra_gestures.c16
2 files changed, 17 insertions, 17 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 1ceda1513b..816c7e20fd 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1010,13 +1010,13 @@ _elm_win_obj_intercept_lower(void *data, Evas_Object *obj EINA_UNUSED)
1010static void 1010static void
1011_elm_win_obj_intercept_stack_above(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *above EINA_UNUSED) 1011_elm_win_obj_intercept_stack_above(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *above EINA_UNUSED)
1012{ 1012{
1013 INF("TODO: %s", __FUNCTION__); 1013 INF("TODO: %s", __func__);
1014} 1014}
1015 1015
1016static void 1016static void
1017_elm_win_obj_intercept_stack_below(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *below EINA_UNUSED) 1017_elm_win_obj_intercept_stack_below(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *below EINA_UNUSED)
1018{ 1018{
1019 INF("TODO: %s", __FUNCTION__); 1019 INF("TODO: %s", __func__);
1020} 1020}
1021 1021
1022static void 1022static void
@@ -9160,45 +9160,45 @@ elm_win_available_profiles_set(Elm_Win *obj, const char **profiles, unsigned int
9160EAPI void 9160EAPI void
9161elm_win_fake_canvas_set(Evas_Object *obj EINA_UNUSED, Ecore_Evas *oee EINA_UNUSED) 9161elm_win_fake_canvas_set(Evas_Object *obj EINA_UNUSED, Ecore_Evas *oee EINA_UNUSED)
9162{ 9162{
9163 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9163 ERR("Calling deprecrated function '%s'", __func__);
9164} 9164}
9165 9165
9166EAPI void 9166EAPI void
9167elm_win_name_set(Evas_Object *obj, const char *name) 9167elm_win_name_set(Evas_Object *obj, const char *name)
9168{ 9168{
9169 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9169 ERR("Calling deprecrated function '%s'", __func__);
9170 efl_ui_win_name_set(obj, name); 9170 efl_ui_win_name_set(obj, name);
9171} 9171}
9172 9172
9173EAPI void 9173EAPI void
9174elm_win_type_set(Evas_Object *obj, Elm_Win_Type type) 9174elm_win_type_set(Evas_Object *obj, Elm_Win_Type type)
9175{ 9175{
9176 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9176 ERR("Calling deprecrated function '%s'", __func__);
9177 efl_ui_win_type_set(obj, _elm_win_type_to_efl_ui_win_type(type)); 9177 efl_ui_win_type_set(obj, _elm_win_type_to_efl_ui_win_type(type));
9178} 9178}
9179 9179
9180EAPI void 9180EAPI void
9181elm_win_teamwork_uri_preload(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUSED) 9181elm_win_teamwork_uri_preload(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUSED)
9182{ 9182{
9183 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9183 ERR("Calling deprecrated function '%s'", __func__);
9184} 9184}
9185 9185
9186EAPI void 9186EAPI void
9187elm_win_teamwork_uri_show(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUSED) 9187elm_win_teamwork_uri_show(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUSED)
9188{ 9188{
9189 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9189 ERR("Calling deprecrated function '%s'", __func__);
9190} 9190}
9191 9191
9192EAPI void 9192EAPI void
9193elm_win_teamwork_uri_hide(Efl_Ui_Win *obj EINA_UNUSED) 9193elm_win_teamwork_uri_hide(Efl_Ui_Win *obj EINA_UNUSED)
9194{ 9194{
9195 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9195 ERR("Calling deprecrated function '%s'", __func__);
9196} 9196}
9197 9197
9198EAPI void 9198EAPI void
9199elm_win_teamwork_uri_open(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUSED) 9199elm_win_teamwork_uri_open(Efl_Ui_Win *obj EINA_UNUSED, const char *uri EINA_UNUSED)
9200{ 9200{
9201 ERR("Calling deprecrated function '%s'", __FUNCTION__); 9201 ERR("Calling deprecrated function '%s'", __func__);
9202} 9202}
9203 9203
9204/* What here follows is code that implements the glue between ecore evas and efl_ui* side */ 9204/* What here follows is code that implements the glue between ecore evas and efl_ui* side */
diff --git a/src/lib/elementary/elm_gesture_layer_extra_gestures.c b/src/lib/elementary/elm_gesture_layer_extra_gestures.c
index b7bce1926c..dd663a8e79 100644
--- a/src/lib/elementary/elm_gesture_layer_extra_gestures.c
+++ b/src/lib/elementary/elm_gesture_layer_extra_gestures.c
@@ -50,7 +50,7 @@ _tap_long_single_tap_start_cb(void *data, void *event_info)
50 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE; 50 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE;
51 if (!info->nb_taps_on_single) 51 if (!info->nb_taps_on_single)
52 { 52 {
53 gl_debug("\n%s\n", __FUNCTION__); 53 gl_debug("\n%s\n", __func__);
54 _cb_call(info, ELM_GESTURE_STATE_START, event_info); 54 _cb_call(info, ELM_GESTURE_STATE_START, event_info);
55 } 55 }
56 return flags; 56 return flags;
@@ -63,7 +63,7 @@ _tap_long_single_tap_abort_cb(void *data, void *event_info EINA_UNUSED)
63 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE; 63 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE;
64 if (!info->long_tap_started) 64 if (!info->long_tap_started)
65 { 65 {
66 gl_debug("%s\n", __FUNCTION__); 66 gl_debug("%s\n", __func__);
67 _cb_call(info, ELM_GESTURE_STATE_ABORT, NULL); 67 _cb_call(info, ELM_GESTURE_STATE_ABORT, NULL);
68 info->nb_taps_on_single = 0; 68 info->nb_taps_on_single = 0;
69 } 69 }
@@ -73,7 +73,7 @@ _tap_long_single_tap_abort_cb(void *data, void *event_info EINA_UNUSED)
73static Eina_Bool 73static Eina_Bool
74_tap_long_timeout(void *data) 74_tap_long_timeout(void *data)
75{ 75{
76 gl_debug("%s\n", __FUNCTION__); 76 gl_debug("%s\n", __func__);
77 Tap_Longpress_Info *info = data; 77 Tap_Longpress_Info *info = data;
78 _tap_long_single_tap_abort_cb(info, NULL); 78 _tap_long_single_tap_abort_cb(info, NULL);
79 info->timer_between_taps = NULL; 79 info->timer_between_taps = NULL;
@@ -83,7 +83,7 @@ _tap_long_timeout(void *data)
83static Evas_Event_Flags 83static Evas_Event_Flags
84_tap_long_single_tap_end_cb(void *data, void *event_info) 84_tap_long_single_tap_end_cb(void *data, void *event_info)
85{ 85{
86 gl_debug("%s\n", __FUNCTION__); 86 gl_debug("%s\n", __func__);
87 Tap_Longpress_Info *info = data; 87 Tap_Longpress_Info *info = data;
88 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE; 88 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE;
89 double timeout_between_taps = elm_gesture_layer_double_tap_timeout_get(info->obj); 89 double timeout_between_taps = elm_gesture_layer_double_tap_timeout_get(info->obj);
@@ -100,7 +100,7 @@ _tap_long_long_tap_start_cb(void *data, void *event_info EINA_UNUSED)
100 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE; 100 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE;
101 if (info->nb_taps_on_single && info->timer_between_taps) 101 if (info->nb_taps_on_single && info->timer_between_taps)
102 { 102 {
103 gl_debug("%s\n", __FUNCTION__); 103 gl_debug("%s\n", __func__);
104 info->long_tap_started = EINA_TRUE; 104 info->long_tap_started = EINA_TRUE;
105 ecore_timer_del(info->timer_between_taps); 105 ecore_timer_del(info->timer_between_taps);
106 info->timer_between_taps = NULL; 106 info->timer_between_taps = NULL;
@@ -115,7 +115,7 @@ _tap_long_long_tap_abort_cb(void *data, void *event_info EINA_UNUSED)
115 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE; 115 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE;
116 if (info->long_tap_started) 116 if (info->long_tap_started)
117 { 117 {
118 gl_debug("%s\n", __FUNCTION__); 118 gl_debug("%s\n", __func__);
119 _cb_call(info, ELM_GESTURE_STATE_ABORT, NULL); 119 _cb_call(info, ELM_GESTURE_STATE_ABORT, NULL);
120 info->nb_taps_on_single = 0; 120 info->nb_taps_on_single = 0;
121 info->long_tap_started = EINA_FALSE; 121 info->long_tap_started = EINA_FALSE;
@@ -136,7 +136,7 @@ _tap_long_long_tap_move_cb(void *data, void *event_info)
136 } 136 }
137 else 137 else
138 { 138 {
139 gl_debug("%s\n", __FUNCTION__); 139 gl_debug("%s\n", __func__);
140 _cb_call(info, ELM_GESTURE_STATE_MOVE, event_info); 140 _cb_call(info, ELM_GESTURE_STATE_MOVE, event_info);
141 } 141 }
142 } 142 }
@@ -150,7 +150,7 @@ _tap_long_long_tap_end_cb(void *data, void *event_info)
150 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE; 150 Evas_Event_Flags flags = EVAS_EVENT_FLAG_NONE;
151 if (info->long_tap_started) 151 if (info->long_tap_started)
152 { 152 {
153 gl_debug("%s\n", __FUNCTION__); 153 gl_debug("%s\n", __func__);
154 _cb_call(info, ELM_GESTURE_STATE_END, event_info); 154 _cb_call(info, ELM_GESTURE_STATE_END, event_info);
155 info->long_tap_started = EINA_FALSE; 155 info->long_tap_started = EINA_FALSE;
156 info->nb_taps_on_single = 0; 156 info->nb_taps_on_single = 0;