app: get rid of including menus/ stuff from widgets/ and other places
Add GimpMenuFactory can always be found in a GimpDialogManager, use gimp_dialog_factory_get_menu_factory() where we have a dialog factory instead of accessing "global_menu_factory" or redundantly passing a menu factory around where we already pass around a dialog factory.
This commit is contained in:
@ -53,7 +53,6 @@ GimpDisplay * gimp_display_new (Gimp *gimp,
|
||||
GimpImage *image,
|
||||
GimpUnit unit,
|
||||
gdouble scale,
|
||||
GimpMenuFactory *menu_factory,
|
||||
GimpUIManager *popup_manager,
|
||||
GimpDialogFactory *dialog_factory,
|
||||
GdkScreen *screen,
|
||||
|
Reference in New Issue
Block a user