Evas: Fix abi break in Evas_Callback_Type

You are not allowed to insert elements into an enum, except for at the
end!!!

Spank spank spank.

Was introduced in: 86751fdbaf
This commit is contained in:
Tom Hacohen 2015-06-10 15:36:28 +01:00
parent d10f9733ac
commit 2605eb3c15
1 changed files with 2 additions and 8 deletions

View File

@ -186,21 +186,13 @@ enum Evas.Callback_Type
changed_size_hints, [[Size hints changed event]]
image_preloaded, [[Image has been preloaded]]
/*
* The following events are only for use with Evas canvases, with
* evas_event_callback_add():
*/
canvas_focus_in, [[Canvas got focus as a whole]]
canvas_focus_out, [[Canvas lost focus as a whole]]
render_flush_pre, [[Called just before rendering is updated on the canvas target]]
render_flush_post, [[Called just after rendering is updated on the canvas target]]
canvas_object_focus_in, [[Canvas object got focus]]
canvas_object_focus_ouT, [[Canvas object lost focus]]
canvas_viewport_resize, [[Canvas viewport resized @since 1.15]]
/*
* More Evas object event types - see evas_object_event_callback_add():
*/
image_unloaded, [[Image data has been unloaded (by some mechanism in Evas that throw out original image data)]]
render_pre, [[Called just before rendering starts on the canvas target @since 1.2]]
@ -210,6 +202,8 @@ enum Evas.Callback_Type
device_changed, [[Devices added, removed or changed on canvas @since 1.8]]
axis_update, [[Input device changed value on some axis @since 1.13]]
canvas_viewport_resize, [[Canvas viewport resized @since 1.15]]
last [[kept as last element/sentinel -- not really an event]]
}