app: Add "dock-factory" property to GimpImageWindow
With the introduction of a single-window mode, not only dock windows needs to be able to create docks, the image window also needs to. So give it a "dock-factory" property.
This commit is contained in:
@ -311,7 +311,8 @@ gimp_ui_configurer_separate_shells (GimpUIConfigurer *ui_configurer,
|
||||
new_image_window = gimp_image_window_new (ui_configurer->p->gimp,
|
||||
NULL,
|
||||
global_menu_factory,
|
||||
global_display_factory);
|
||||
global_display_factory,
|
||||
global_dock_factory);
|
||||
/* Move the shell there */
|
||||
shell = gimp_image_window_get_shell (source_image_window, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user