Skip to content
  • Michael Natterer's avatar
    Never shrink the empty display when filling it, only grow: · f8e5aa31
    Michael Natterer authored
    2008-03-23  Michael Natterer  <mitch@gimp.org>
    
    	Never shrink the empty display when filling it, only grow:
    
    	* app/display/gimpdisplayshell.[ch]
    	* app/display/gimpdisplayshell-scale.[ch]: add "gboolean
    	grow_only" parameters to shrink_wrap() APIs which restricts
    	resizing of the window to growing.
    
    	* app/display/gimpdisplayshell-scale.[ch]
    	(gimp_displaY_shell_scale_resize): remove boolean "redisplay"
    	parameter because is was always passed as TRUE. Add boolean
    	"grow_only" instead and pass it on to shrink_wrap()
    
    	* app/actions/view-commands.c
    	* app/display/gimpdisplayshell-handlers.c: pass grow_only = FALSE.
    
    	* app/display/gimpdisplayshell.c (gimp_display_shell_idle_fill):
    	pass grow_only = TRUE.
    
    
    svn path=/trunk/; revision=25178
    f8e5aa31