entry: Make code do what it's meant to do
authorBenjamin Otte <otte@redhat.com>
Fri, 13 Mar 2015 17:04:51 +0000 (18:04 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 14 Mar 2015 14:46:13 +0000 (15:46 +0100)
commitc5905b13b97012fc9e9424718bdce34e0989f512
treea77403f69644ffd1822ca685a788abd6b06cd3a6
parentd2881d901bc057328d4096bb86830198816fd1a2
entry: Make code do what it's meant to do

With the 3.0 transition, this code went from just querying the entry's
height request to doing a full size request.
Then it got code to revert the features that a full size request does.
And then it grew code that manually computed the baseline.

Avoid this and just do what happened back in the days: Do a regular
height request.

This changes the semantics of the get_frame_size() vfunc wrt its
behavior towards subclasses overwriting the get_height() vfuncs, but I'm
happy to live with that.
gtk/gtkentry.c
gtk/gtkspinbutton.c