• Michael Natterer's avatar
    added a "menu_factory" parameter instead of trying to get it from the · 512b1120
    Michael Natterer authored
    2004-11-22  Michael Natterer  <mitch@gimp.org>
    
    	* app/tools/gimptextoptions.[ch] (gimp_text_options_editor_new):
    	added a "menu_factory" parameter instead of trying to get it from
    	the toplevel GimpDock (which does not exists if the tool options
    	dialog does not exist). Fixes bug #159071.
    
    	* app/tools/gimptexttool.c (gimp_text_tool_editor): pass the
    	menu_factory.
    
    	* app/dialogs/dialogs.c (dialogs_init): pass the global menu
    	factory also when constructing the "toplevel" dialog factory so
    	the above works.
    512b1120
gimptextoptions.h 2.62 KB