diff options
author | Victor Kareh <[email protected]> | 2018-05-01 00:24:38 -0400 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-05-12 21:23:54 +0200 |
commit | 5c4eb86ea1bb117805cc8fccb4ba3d96a53f2813 (patch) | |
tree | bb18949947cbcc5e446ac1e666594be23cf34ba1 /mate-panel/panel-util.h | |
parent | 6e0188bf03c24558cc1ecd1dd6244eda8137b48e (diff) | |
download | mate-panel-5c4eb86ea1bb117805cc8fccb4ba3d96a53f2813.tar.bz2 mate-panel-5c4eb86ea1bb117805cc8fccb4ba3d96a53f2813.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, |