diff options
author | monsta <[email protected]> | 2017-04-11 12:06:23 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2017-04-11 12:07:08 +0300 |
commit | de0611f1b7d937ce8c316ab8643349875aa80cc5 (patch) | |
tree | d5f70e027cc88e44222fb27eb3402a72220205cc | |
parent | be71ad60d8b05fe0b4f8ac409122ee905a1a4e28 (diff) | |
download | mate-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.c | 5 |
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); |