forked from osmocom/wireshark
Fix bug #7502
In gtk3 upper value of adjustment can't be smaller than page_size. Otherwise strange things happens ;-) svn path=/trunk/; revision=43856
This commit is contained in:
parent
0441109c33
commit
642861a4e1
|
@ -921,6 +921,11 @@ _gtk_adjustment_configure(GtkAdjustment *adj,
|
|||
gtk_adjustment_changed(adj);
|
||||
}
|
||||
|
||||
#elif GTK_CHECK_VERSION(3, 0, 0)
|
||||
|
||||
#define _gtk_adjustment_configure(adj, val, low, up, step, page, size) \
|
||||
gtk_adjustment_configure(adj, val, low, MAX((up), (size)), step, page, size)
|
||||
|
||||
#else
|
||||
|
||||
#define _gtk_adjustment_configure(adj, val, low, up, step, page, size) \
|
||||
|
|
Loading…
Reference in New Issue