gtkwindow: Remove resize grips

Desktop / GNOME / GTK - Jasper St. Pierre [mecheye.net] - 3 July 2014 11:58 UTC

Resize grips were introduced for GNOME 3.0, before we had any of the "new GNOME app" features like invisible borders and CSD. With OS X 10.6 and 10.7, Apple has replaced the classic grips in their applications with invisible borders as well.

New GNOME app designs don't use resize grips anymore and the new default theme for GTK+, Adwaita, disables them entirely by forcing their width and height to 0.

They're past their time. Remove the code to support them. This can always be reverted if some app relies on them.

ece9ae4 gtkwindow: Remove resize grips
docs/tools/widgets.c | 1 -
gtk/gtkrange.c | 105 -----
gtk/gtkstatusbar.c | 183 --------
gtk/gtkwindow.c | 451 +-------------------
gtk/gtkwindow.h | 8 +-
gtk/resources/theme/Adwaita/_common.scss | 2 -
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 -
gtk/resources/theme/Adwaita/gtk-contained.css | 2 -
gtk/resources/theme/Raleigh/gtk-default.css | 2 -
tests/styleexamples.c | 1 -
testsuite/gtk/testing.c | 2 -
testsuite/reftests/toplevel-vs-popup.ui | 1 -
12 files changed, 26 insertions(+), 734 deletions(-)

Upstream: git.gnome.org


  • Share