Commit 2bac1059 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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
parent 7bef7c77
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):
......
......@@ -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)
{
......
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