diff options
author | Konstantin Pugin <[email protected]> | 2014-06-20 00:04:13 +0700 |
---|---|---|
committer | Konstantin Pugin <[email protected]> | 2014-06-20 01:26:52 +0700 |
commit | a9d01e5afb6fd97d96f1b298e6e34d2dfa02f25c (patch) | |
tree | 4634f12585ec2259fb63b2743d16928c8b4dda86 /mate-panel/panel-background.h | |
parent | f327306271032e7b8ef716655f91c58513792cde (diff) | |
download | mate-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.h | 7 |
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__ */ |