app: Merge "toplevel" and "display" factories

Merge "toplevel" and "display" factories so that we only have one
dialog factory. This allows us to get rid of a lot of special casing.
This commit is contained in:
Martin Nordholts
2010-02-20 10:58:29 +01:00
parent 993d2df338
commit c3619fb85c
6 changed files with 30 additions and 39 deletions

View File

@ -351,7 +351,7 @@ gui_display_create (Gimp *gimp,
display = gimp_display_new (gimp, image, unit, scale,
global_menu_factory,
image_managers->data,
global_display_factory,
global_dialog_factory,
global_dialog_factory);
}