Skip to content
  • Martin Nordholts's avatar
    Make this a private function because we want to be in full control over · ccdac058
    Martin Nordholts authored
    2008-08-13  Martin Nordholts  <martinn@svn.gnome.org>
    
    	* app/display/gimpdisplayshell-scale.[ch]
    	(gimp_display_shell_scale_to): Make this a private function
    	because we want to be in full control over what pixel to focus on
    	when zooming in and out.
    
    	* app/display/gimpdisplayshell-callbacks.c
    	(gimp_display_shell_canvas_tool_events): Use
    	gimp_display_shell_scale() here instead of
    	gimp_display_shell_scale_to(). We figure out (and can override if
    	we wish) the coordinates that were previously passed explicitly.
    
    svn path=/trunk/; revision=26531
    ccdac058