Don't ask gimp_display_shell_set_initial_scale() for display size, we
2008-07-13 Martin Nordholts <martinn@svn.gnome.org> * app/display/gimpdisplayshell.c (gimp_display_shell_fill): Don't ask gimp_display_shell_set_initial_scale() for display size, we don't care anyway. svn path=/trunk/; revision=26167
This commit is contained in:

committed by
Martin Nordholts

parent
4aeaa83f9e
commit
121849e7ca
@ -1,3 +1,9 @@
|
||||
2008-07-13 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
* app/display/gimpdisplayshell.c (gimp_display_shell_fill): Don't
|
||||
ask gimp_display_shell_set_initial_scale() for display size, we
|
||||
don't care anyway.
|
||||
|
||||
2008-07-12 Martin Nordholts <martinn@svn.gnome.org>
|
||||
|
||||
The following change is conceptually based on a patch by
|
||||
|
@ -1340,9 +1340,6 @@ gimp_display_shell_fill (GimpDisplayShell *shell,
|
||||
GimpUnit unit,
|
||||
gdouble scale)
|
||||
{
|
||||
gint display_width;
|
||||
gint display_height;
|
||||
|
||||
g_return_if_fail (GIMP_IS_DISPLAY_SHELL (shell));
|
||||
g_return_if_fail (GIMP_IS_DISPLAY (shell->display));
|
||||
g_return_if_fail (GIMP_IS_IMAGE (image));
|
||||
@ -1351,8 +1348,7 @@ gimp_display_shell_fill (GimpDisplayShell *shell,
|
||||
GTK_WIDGET (shell));
|
||||
|
||||
gimp_display_shell_set_unit (shell, unit);
|
||||
gimp_display_shell_set_initial_scale (shell, scale,
|
||||
&display_width, &display_height);
|
||||
gimp_display_shell_set_initial_scale (shell, scale, NULL, NULL);
|
||||
gimp_display_shell_scale_changed (shell);
|
||||
|
||||
gimp_statusbar_fill (GIMP_STATUSBAR (shell->statusbar));
|
||||
|
Reference in New Issue
Block a user