Commit c731e1ce authored by Benjamin Otte's avatar Benjamin Otte

demos: Update testpixbuf-scale demo for adjustment sealing

parent a28be2cc
......@@ -24,9 +24,9 @@ set_interp_type (GtkWidget *widget, gpointer data)
void
overall_changed_cb (GtkAdjustment *adjustment, gpointer data)
{
if (adjustment->value != overall_alpha)
if (gtk_adjustment_get_value (adjustment) != overall_alpha)
{
overall_alpha = adjustment->value;
overall_alpha = gtk_adjustment_get_value (adjustment);
gtk_widget_queue_draw (darea);
}
}
......
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