Commit 5e2033cb authored by David Odin's avatar David Odin

zooming out more is zooming out three times, not zooming in. Fixes bug

* libgimpwidgets/gimpzoommodel.c: zooming out more is zooming out
  three times, not zooming in. Fixes bug #155446.
parent 161c91c6
2005-09-27 DindinX <dindinx@gimp.org>
* libgimpwidgets/gimpzoommodel.c: zooming out more is zooming out
three times, not zooming in. Fixes bug #155446.
2005-09-26 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): applied
......
......@@ -106,6 +106,8 @@ GimpZoomModel
@model:
@numerator:
@denominator:
<!-- # Unused Parameters # -->
@zoom_factor:
<!-- ##### FUNCTION gimp_zoom_button_new ##### -->
......
......@@ -269,9 +269,9 @@ gimp_zoom_model_set_range (GimpZoomModel *model,
g_return_if_fail (max <= ZOOM_MAX);
g_object_set (model,
"minimum", min,
"maximum", max,
NULL);
"minimum", min,
"maximum", max,
NULL);
}
/**
......@@ -550,9 +550,9 @@ gimp_zoom_model_zoom_step (GimpZoomType zoom_type,
break;
case GIMP_ZOOM_OUT_MORE:
scale = gimp_zoom_model_zoom_step (GIMP_ZOOM_IN, scale);
scale = gimp_zoom_model_zoom_step (GIMP_ZOOM_IN, scale);
scale = gimp_zoom_model_zoom_step (GIMP_ZOOM_IN, scale);
scale = gimp_zoom_model_zoom_step (GIMP_ZOOM_OUT, scale);
scale = gimp_zoom_model_zoom_step (GIMP_ZOOM_OUT, scale);
scale = gimp_zoom_model_zoom_step (GIMP_ZOOM_OUT, scale);
new_scale = scale;
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment