[gnome-shell] st-texture-cache: Ensure we return a ClutterTexture, not a plain Actor
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] st-texture-cache: Ensure we return a ClutterTexture, not a plain Actor
- Date: Mon, 19 Mar 2012 14:35:27 +0000 (UTC)
commit 3813a031177ac6173ec20641e6d89c07ee47aad1
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Mar 19 15:23:01 2012 +0100
st-texture-cache: Ensure we return a ClutterTexture, not a plain Actor
Calling code expects to get a ClutterTexture instance, not a
ClutterActor.
src/st/st-texture-cache.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index aabe992..30c9a0b 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -1216,7 +1216,7 @@ st_texture_cache_load_icon_name (StTextureCache *cache,
/* We don't have an equivalent of image-missing
* for the symbolic icon theme, so just create a blank
* actor. */
- texture = clutter_actor_new ();
+ texture = (ClutterActor *) create_default_texture ();
clutter_actor_set_size (texture, size, size);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]