tests: check directly size-request in AdgGtkLayout
commit91d1ab944f8a845db9ddb56fd29f7b00a44385ed
authorNicola Fontana <ntd@entidi.it>
Sat, 21 Feb 2015 20:08:14 +0000 (21 21:08 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 21 Feb 2015 20:08:14 +0000 (21 21:08 +0100)
tree42e181f15d6d1cfb4d111d197608e56ae0473488
parent38b11a303999e2eccdd55a181174a8ea64dccb2c
tests: check directly size-request in AdgGtkLayout

Instead of implementing different branches for getting the minimum size
set by AdgGtkLayout, directy use gtk_widget_get_size_request() that is
present either in GTK+2 and GTK+3 and it is a robust way to get what
requested by the test.
src/adg/tests/test-gtk-layout.c