don't call gtk_adjustment_get_value() on a gint.

2008-06-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimphistogrambox.c
	(gimp_histogram_box_high_adj_update): don't call
	gtk_adjustment_get_value() on a gint.


svn path=/trunk/; revision=26023
This commit is contained in:
Michael Natterer 2008-06-30 17:36:21 +00:00 committed by Michael Natterer
parent 7bef7c779f
commit 2bac105982
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-06-30 Michael Natterer <mitch@gimp.org>
* app/widgets/gimphistogrambox.c
(gimp_histogram_box_high_adj_update): don't call
gtk_adjustment_get_value() on a gint.
2008-06-30 Michael Natterer <mitch@gimp.org>
* app/dialogs/file-open-dialog.c (file_open_dialog_response):

View file

@ -208,7 +208,7 @@ static void
gimp_histogram_box_high_adj_update (GtkAdjustment *adjustment,
GimpHistogramBox *box)
{
gint value = ROUND (gtk_adjustment_get_value (value));
gint value = ROUND (gtk_adjustment_get_value (adjustment));
if (box->view->end != value)
{