GNOME Bugzilla – Bug 468672
GTK_POLICY_AUTOMATIC should be the default policy for a GtkScrolledWIndow
Last modified: 2010-09-22 00:17:58 UTC
I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created GtkScrolledWindow. Glade already does that. Other information:
(In reply to comment #0) > I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created > GtkScrolledWindow. Glade already does that. property defaults are part of the API in Gtk+, so they cannot be changed.
(In reply to comment #1) > (In reply to comment #0) > > I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created > > GtkScrolledWindow. Glade already does that. > > property defaults are part of the API in Gtk+, so they cannot be changed. > Sorry for asking: Why not?
(In reply to comment #2) > (In reply to comment #1) > > (In reply to comment #0) > > > I think GTK_POLICY_AUTOMATIC should be the default policy for a newly created > > > GtkScrolledWindow. Glade already does that. > > > > property defaults are part of the API in Gtk+, so they cannot be changed. > > > > Sorry for asking: Why not? because it would be an API break. every application relying on the default would need to be changed and recompiled after such a break. hence, "property defaults are part of the API".
Maybe this could be proposed for Gtk+ 3?
I think it's worth considering for GTK+ 3.0, hence setting the version and target appropriately.
commit 0f88b6808c6fb41e49ff4600e56bc8b2ceb4f49a Author: Matthias Clasen <mclasen@redhat.com> Date: Tue Sep 21 20:14:46 2010 -0400 GtkScrolledWindow: change default policy to 'automatic' This change was proposed in bug 468672.