call gtk_adjustment_value_changed in addition to gtk_adjustment_changed,

* libgimp/gimpzoompreview.c: call gtk_adjustment_value_changed in
  addition to gtk_adjustment_changed, so the offsets are correctly
  updated.
This commit is contained in:
David Odin 2005-10-01 12:01:27 +00:00
parent 678de416f4
commit 95f8702dbe
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2005-10-01 DindinX <dindinx@gimp.org>
* libgimp/gimpzoompreview.c: call gtk_adjustment_value_changed in
addition to gtk_adjustment_changed, so the offsets are correctly
updated.
2005-09-30 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-pdb.c (pf_call): use canonical name for
@ -10,8 +16,8 @@
2005-09-30 Carol Spears <carol@gimp.org>
* plug-ins/pygimp/plug-ins/clothify.py
* plug-ins/pygimp/plug-ins/foggify.py: Added run_mode parameter.
* plug-ins/pygimp/plug-ins/foggify.py: Added run_mode parameter.
2005-10-01 Simon Budig <simon@gimp.org>
* app/core/gimpcoords.[ch]: Added small utility function for the

View File

@ -168,6 +168,7 @@ gimp_zoom_preview_set_adjustments (GimpZoomPreview *preview)
adj->lower,
adj->upper - adj->page_size);
gtk_adjustment_changed (adj);
gtk_adjustment_value_changed (adj);
adj = gtk_range_get_adjustment (GTK_RANGE (scrolled_preview->vscr));
adj->lower = 0;
@ -179,6 +180,7 @@ gimp_zoom_preview_set_adjustments (GimpZoomPreview *preview)
adj->lower,
adj->upper - adj->page_size);
gtk_adjustment_changed (adj);
gtk_adjustment_value_changed (adj);
gimp_preview_invalidate (GIMP_PREVIEW (preview));
}