st-texture-cache: use StImageContent for cairo bound surface
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
This commit is contained in:

committed by
Jonas Ådahl

parent
e3c5c9a2e7
commit
19c60ff5c5
@ -211,8 +211,8 @@ window_backed_app_get_icon (ShellApp *app,
|
||||
|
||||
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);
|
||||
"icon",
|
||||
size);
|
||||
return actor;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user