app: fix warning and indentation in windows_menu_display_reorder()

This commit is contained in:
Michael Natterer 2013-09-17 12:20:39 +02:00
parent 31954afcf8
commit fe7a08e7c7
1 changed files with 20 additions and 19 deletions

View File

@ -203,8 +203,9 @@ windows_menu_display_reorder (GimpContainer *container,
/* If I don't ensure the menu items are effectively removed, adding
* the same ones may simply cancel the effect of the removal, hence
* losing the menu reordering. */
gtk_ui_manager_ensure_update (manager);
* losing the menu reordering.
*/
gtk_ui_manager_ensure_update (GTK_UI_MANAGER (manager));
for (i = new_index; i < n_display; i++)
{