StTextureCache: adapt to MetaWindow changing icon prop type

Mutter change is
https://git.gnome.org/browse/mutter/commit/?id=af7f51b992b20da543312fa9fdf1dcef39704b37

https://bugzilla.gnome.org/show_bug.cgi?id=742824
This commit is contained in:
Rui Matos
2015-01-12 21:21:39 +01:00
parent d8ca374a06
commit af889168f0
4 changed files with 28 additions and 21 deletions

View File

@ -189,9 +189,9 @@ window_backed_app_get_icon (ShellApp *app,
}
window = window_backed_app_get_window (app);
actor = st_texture_cache_bind_pixbuf_property (st_texture_cache_get_default (),
G_OBJECT (window),
"icon");
actor = st_texture_cache_bind_cairo_surface_property (st_texture_cache_get_default (),
G_OBJECT (window),
"icon");
g_object_set (actor, "width", (float) size, "height", (float) size, NULL);
return actor;
}