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:
Cedric Bail 2013-07-11 18:07:58 +09:00
parent b0c9d1f818
commit db64103bf3
1 changed files with 2 additions and 2 deletions

View File

@ -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 }