diff options
author | monsta <[email protected]> | 2016-01-04 21:53:25 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-04 21:53:25 +0300 |
commit | 52e8b9ea675d596926c460de4b39e3f9c470661d (patch) | |
tree | a630ecea1b2423d5840ecece49127558f515b938 | |
parent | b7439ed573d6617729e9006248456ef6844b225e (diff) | |
download | mate-panel-52e8b9ea675d596926c460de4b39e3f9c470661d.tar.bz2 mate-panel-52e8b9ea675d596926c460de4b39e3f9c470661d.tar.xz |
background: nested GTK_CHECK_VERSION's make no sense
-rw-r--r-- | mate-panel/panel-background.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mate-panel/panel-background.c b/mate-panel/panel-background.c index bfbc2bcd..9cbcc1a3 100644 --- a/mate-panel/panel-background.c +++ b/mate-panel/panel-background.c @@ -440,14 +440,12 @@ composite_color_onto_desktop (PanelBackground *background) } cr = cairo_create (surface); -#if GTK_CHECK_VERSION (3, 0, 0) + if(!gdk_window_check_composited_wm(background->window)){ -#endif gdk_cairo_set_source_pixbuf (cr, background->desktop, 0, 0); cairo_paint (cr); -#if GTK_CHECK_VERSION(3, 0, 0) } -#endif + gdk_cairo_set_source_rgba (cr, &background->color); cairo_paint (cr); |