Emit ::load-finished for every texture load
The ::load-finished signal is emitted only when loading a texture using clutter_texture_set_from_file(). Since this breaks user expectations and consistency, we should also emit ::load-finished when loading a texture from image data.
This commit is contained in:
parent
3e9e5a11da
commit
5d346cca57
@ -1270,6 +1270,8 @@ clutter_texture_set_from_data (ClutterTexture *texture,
|
||||
|
||||
cogl_texture_unref (new_texture);
|
||||
|
||||
g_signal_emit (texture, texture_signals[LOAD_FINISHED], 0, error);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user