summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-04-11 12:06:23 +0300
committermonsta <[email protected]>2017-04-11 12:07:08 +0300
commitde0611f1b7d937ce8c316ab8643349875aa80cc5 (patch)
treed5f70e027cc88e44222fb27eb3402a72220205cc
parentbe71ad60d8b05fe0b4f8ac409122ee905a1a4e28 (diff)
downloadmate-panel-de0611f1b7d937ce8c316ab8643349875aa80cc5.tar.bz2
mate-panel-de0611f1b7d937ce8c316ab8643349875aa80cc5.tar.xz
panel-menu-bar: fix build warning and some spacing
-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);