summaryrefslogtreecommitdiff
path: root/mate-panel/panel-background.h
diff options
context:
space:
mode:
authorKonstantin Pugin <[email protected]>2014-06-20 00:04:13 +0700
committerKonstantin Pugin <[email protected]>2014-06-20 01:26:52 +0700
commita9d01e5afb6fd97d96f1b298e6e34d2dfa02f25c (patch)
tree4634f12585ec2259fb63b2743d16928c8b4dda86 /mate-panel/panel-background.h
parentf327306271032e7b8ef716655f91c58513792cde (diff)
downloadmate-panel-a9d01e5afb6fd97d96f1b298e6e34d2dfa02f25c.tar.bz2
mate-panel-a9d01e5afb6fd97d96f1b298e6e34d2dfa02f25c.tar.xz
Fix RGBA issues for GTK3
Diffstat (limited to 'mate-panel/panel-background.h')
-rw-r--r--mate-panel/panel-background.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h
index fead8648..6c36873b 100644
--- a/mate-panel/panel-background.h
+++ b/mate-panel/panel-background.h
@@ -54,11 +54,10 @@ struct _PanelBackground {
GtkOrientation orientation;
GdkRectangle region;
+ GdkPixbuf *transformed_image;
#if GTK_CHECK_VERSION (3, 0, 0)
- cairo_pattern_t *transformed_pattern;
cairo_pattern_t *composited_pattern;
#else
- GdkPixbuf *transformed_image;
GdkPixbuf *composited_image;
#endif
@@ -162,4 +161,8 @@ PanelBackgroundType
void panel_background_change_background_on_widget (PanelBackground *background,
GtkWidget *widget);
+#if GTK_CHECK_VERSION (3, 0, 0)
+void panel_background_apply_css(GtkWidget* widget);
+#endif
+
#endif /* __PANEL_BACKGROUND_H__ */