diff options
author | monsta <[email protected]> | 2016-01-04 20:27:23 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-04 20:27:23 +0300 |
commit | 98576d25e966aded1c3f67c41c146e15e4827ced (patch) | |
tree | 5cb99b0e71fcb560f70711676629dc14cd653c0e /mate-panel/panel-background.h | |
parent | 49326e0842e21504170957b07debde3bd2906b0c (diff) | |
download | mate-panel-98576d25e966aded1c3f67c41c146e15e4827ced.tar.bz2 mate-panel-98576d25e966aded1c3f67c41c146e15e4827ced.tar.xz |
background: normalize usage of GTK_CHECK_VERSION
Diffstat (limited to 'mate-panel/panel-background.h')
-rw-r--r-- | mate-panel/panel-background.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mate-panel/panel-background.h b/mate-panel/panel-background.h index 02b3605f..eabcdc3e 100644 --- a/mate-panel/panel-background.h +++ b/mate-panel/panel-background.h @@ -157,12 +157,11 @@ const GdkPixmap *panel_background_get_pixmap (PanelBackground *background); PanelBackgroundType panel_background_effective_type (PanelBackground *background); -#if !GTK_CHECK_VERSION (3, 0, 0) +#if GTK_CHECK_VERSION (3, 0, 0) +void panel_background_apply_css(GtkWidget* widget, PanelBackground *background); +#else void panel_background_change_background_on_widget (PanelBackground *background, GtkWidget *widget); - -#else -void panel_background_apply_css(GtkWidget* widget, PanelBackground *background); #endif #endif /* __PANEL_BACKGROUND_H__ */ |