GtkMenuShell: We want separators in submenus

This was probably an oversight when adding the merge_separators
parameter. Without this change, the testsuite/gtk/gtkmenu test
fails.
This commit is contained in:
Matthias Clasen 2014-04-28 22:46:25 -04:00
parent 723dc0667e
commit a6fb006ab5

View File

@ -2185,7 +2185,7 @@ gtk_menu_shell_bind_model (GtkMenuShell *menu_shell,
if (model) if (model)
menu_shell->priv->tracker = gtk_menu_tracker_new (GTK_ACTION_OBSERVABLE (muxer), menu_shell->priv->tracker = gtk_menu_tracker_new (GTK_ACTION_OBSERVABLE (muxer),
model, with_separators, FALSE, action_namespace, model, with_separators, TRUE, action_namespace,
gtk_menu_shell_tracker_insert_func, gtk_menu_shell_tracker_insert_func,
gtk_menu_shell_tracker_remove_func, gtk_menu_shell_tracker_remove_func,
menu_shell); menu_shell);