projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9e5a1
)
Emit ::load-finished for every texture load
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 14 Jan 2009 15:30:10 +0000
(15:30 +0000)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Wed, 14 Jan 2009 15:38:04 +0000
(15:38 +0000)
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.
clutter/clutter-texture.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-texture.c
b/clutter/clutter-texture.c
index
a3b1bd3
..
d081b38
100644
(file)
--- a/
clutter/clutter-texture.c
+++ b/
clutter/clutter-texture.c
@@
-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;
}