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:

committed by
Michael Natterer

parent
7bef7c779f
commit
2bac105982
@ -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>
|
2008-06-30 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/dialogs/file-open-dialog.c (file_open_dialog_response):
|
* app/dialogs/file-open-dialog.c (file_open_dialog_response):
|
||||||
|
@ -208,7 +208,7 @@ static void
|
|||||||
gimp_histogram_box_high_adj_update (GtkAdjustment *adjustment,
|
gimp_histogram_box_high_adj_update (GtkAdjustment *adjustment,
|
||||||
GimpHistogramBox *box)
|
GimpHistogramBox *box)
|
||||||
{
|
{
|
||||||
gint value = ROUND (gtk_adjustment_get_value (value));
|
gint value = ROUND (gtk_adjustment_get_value (adjustment));
|
||||||
|
|
||||||
if (box->view->end != value)
|
if (box->view->end != value)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user