From 3813a031177ac6173ec20641e6d89c07ee47aad1 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Mon, 19 Mar 2012 15:23:01 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c index aabe992d2..30c9a0bc8 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); }