summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-menu-bar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mate-panel/panel-menu-bar.c b/mate-panel/panel-menu-bar.c
index 629534d2..fc131656 100644
--- a/mate-panel/panel-menu-bar.c
+++ b/mate-panel/panel-menu-bar.c
@@ -352,8 +352,9 @@ static void panel_menu_bar_load(PanelWidget* panel, gboolean locked, int positio
gtk_widget_destroy(GTK_WIDGET(menubar));
return;
}
- settings = gtk_settings_get_for_screen(gtk_widget_get_screen(panel));
- g_object_set(settings,"gtk-shell-shows-app-menu",FALSE,"gtk-shell-shows-menubar",FALSE,NULL);
+
+ settings = gtk_settings_get_for_screen (gtk_widget_get_screen (GTK_WIDGET (panel)));
+ g_object_set (settings, "gtk-shell-shows-app-menu", FALSE, "gtk-shell-shows-menubar", FALSE, NULL);
mate_panel_applet_add_callback(menubar->priv->info, "help", GTK_STOCK_HELP, _("_Help"), NULL);