[duim,gtk] gtk_widget_size_request() is deprecated.

We use the suggested replacement, gtk_widget_get_preferred_size, instead.