diff options
author | Victor Kareh <[email protected]> | 2018-05-01 00:24:38 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-05-12 21:15:34 +0200 |
commit | 10b2021f0a98f1575400aac2beffd8e3c47ecdd5 (patch) | |
tree | d625ff63f823fcb481f47fc7f11b502f4418ac2f /mate-panel/panel-util.h | |
parent | f775e8987f8279ea2fb259126e61d0b26cf78817 (diff) | |
download | mate-panel-10b2021f0a98f1575400aac2beffd8e3c47ecdd5.tar.bz2 mate-panel-10b2021f0a98f1575400aac2beffd8e3c47ecdd5.tar.xz |
Convert launcher icons to cairo surfaces
This improves support for HiDPI by loading properly scaled surfaces for
launcher and drawer icons.
It also Fixes the Show Desktop wncklet to show a surface icon. Other
wncklets have their icons determined by libwnck, so they remain as
pixbufs.
Fixes mate-desktop/mate-desktop#314
Diffstat (limited to 'mate-panel/panel-util.h')
-rw-r--r-- | mate-panel/panel-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-util.h b/mate-panel/panel-util.h index 21352970..8d9fb2ef 100644 --- a/mate-panel/panel-util.h +++ b/mate-panel/panel-util.h @@ -31,7 +31,7 @@ GIcon * panel_gicon_from_icon_name (const char *icon_name); char * panel_find_icon (GtkIconTheme *icon_theme, const char *icon_name, int size); -GdkPixbuf * panel_load_icon (GtkIconTheme *icon_theme, +cairo_surface_t *panel_load_icon (GtkIconTheme *icon_theme, const char *icon_name, int size, int desired_width, |