Use new GTK+ 3 facilities to fix resizing
@otaylor
Submitted by Owen Taylor Link to original bug (#631797)
Description
The old sizing hacks don't work at all with GTK+ 3 because GTK+ no longer deals with underallocation (allocation smaller than the minimum size) gracefully. However, GTK+ 3 has now been fixed to the geometry widget feature of gtk_window_set_geometry_hints() work without hacks.
-
Make TerminalScreen override the fake minimum size that VteTerminal reports with more real minimum size of 0x0. This will be OK for GTK+ 2 because we override the size request as part of our hacks.
-
For GTK+ 3, use the new gtk_window_resize_to_geometry() function to replace the hacks we were doing to determine the minimum size. (The same hacks also did a dual purpose of making GTK+'s computation for the geometry widget work correctly.)
Resolution: RESOLVED FIXED