edje: fix build break on Windows.
NOTE: In C, you can only mark an area const if it is not changed at runtime, this include also the job of the linker at runtime. So this array can't be const because they use pointer from Evas that will be resolved during link at runtime, instead of link at compile time. This pass on Linux, but fail on other architecture and is actually not correct. So let's not use const here.
This commit is contained in:
parent
b0c9d1f818
commit
db64103bf3
|
@ -432,7 +432,7 @@ _edje_pending_timer_cb(void *data)
|
|||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
static const Eo_Callback_Array_Item edje_callbacks[] = {
|
||||
static Eo_Callback_Array_Item edje_callbacks[] = {
|
||||
{ EVAS_OBJECT_EVENT_HOLD, _edje_hold_signal_cb },
|
||||
{ EVAS_OBJECT_EVENT_MOUSE_IN, _edje_mouse_in_signal_cb },
|
||||
{ EVAS_OBJECT_EVENT_MOUSE_OUT, _edje_mouse_out_signal_cb },
|
||||
|
@ -443,7 +443,7 @@ static const Eo_Callback_Array_Item edje_callbacks[] = {
|
|||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
static const Eo_Callback_Array_Item edje_focus_callbacks[] = {
|
||||
static Eo_Callback_Array_Item edje_focus_callbacks[] = {
|
||||
{ EVAS_OBJECT_EVENT_FOCUS_IN, _edje_focus_in_signal_cb },
|
||||
{ EVAS_OBJECT_EVENT_FOCUS_OUT, _edje_focus_out_signal_cb },
|
||||
{ NULL, NULL }
|
||||
|
|
Loading…
Reference in New Issue