summaryrefslogtreecommitdiff
path: root/mate-panel/button-widget.h
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2018-05-01 00:24:38 -0400
committerraveit65 <[email protected]>2018-05-12 21:23:54 +0200
commit5c4eb86ea1bb117805cc8fccb4ba3d96a53f2813 (patch)
treebb18949947cbcc5e446ac1e666594be23cf34ba1 /mate-panel/button-widget.h
parent6e0188bf03c24558cc1ecd1dd6244eda8137b48e (diff)
downloadmate-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/button-widget.h')
-rw-r--r--mate-panel/button-widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/button-widget.h b/mate-panel/button-widget.h
index e9b87e6d..372c33b9 100644
--- a/mate-panel/button-widget.h
+++ b/mate-panel/button-widget.h
@@ -51,7 +51,7 @@ void button_widget_set_ignore_leave (ButtonWidget *button,
gboolean ignore_leave);
gboolean button_widget_get_ignore_leave (ButtonWidget *button);
GtkIconTheme *button_widget_get_icon_theme (ButtonWidget *button);
-GdkPixbuf *button_widget_get_pixbuf (ButtonWidget *button);
+cairo_surface_t *button_widget_get_surface (ButtonWidget *button);
#ifdef __cplusplus
}