forked from AuroraMiddleware/gtk
demos: Update testpixbuf-scale demo for adjustment sealing
This commit is contained in:
parent
a28be2cc6c
commit
c731e1ce0a
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user