diff options
Diffstat (limited to 'mate-panel/panel-menu-bar.c')
-rw-r--r-- | mate-panel/panel-menu-bar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c index 9776fa1f..f05dc894 100644 --- a/mate-panel/panel-menu-bar.c +++ b/mate-panel/panel-menu-bar.c @@ -467,7 +467,11 @@ void panel_menu_bar_popup_menu(PanelMenuBar* menubar, guint32 activate_time) void panel_menu_bar_change_background(PanelMenuBar* menubar) { +#if GTK_CHECK_VERSION (3, 0, 0) + panel_background_apply_css(GTK_WIDGET(menubar)); +#else panel_background_change_background_on_widget(&menubar->priv->panel->background, GTK_WIDGET(menubar)); +#endif } static void set_item_text_gravity(GtkWidget* item) |