summaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/macos.c b/macos.c
index d76225472..d0d7a742b 100644
--- a/macos.c
+++ b/macos.c
@@ -123,10 +123,7 @@ void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar,
gtk_widget_hide (menubar);
gtk_osxapplication_set_menu_bar(osx_app, GTK_MENU_SHELL(menubar));
- sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator1");
- if (sep)
- gtk_widget_destroy(sep);
- sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator2");
+ sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator3");
if (sep)
gtk_widget_destroy(sep);