GNOME Bugzilla – Bug 59027
shadow vs. shadow_type properties
Last modified: 2011-02-04 16:09:25 UTC
From: Tim Janik <timj@gtk.org> can you please file a bug report about GtkFrame::shadow being one name for GTK_TYPE_SHADOW_TYPE settings and GtkScrolledWindow::shadow_type (and GtkCList::shadow_type) being the other variant. GtkFrame::shadow predates pretty much everything, but since more widgets seem to use ::shadow_type, we should probably make GtkFrame::shadow a deprecated alias.
The count here is 7 shadow_type to 2 shadow. But how do we do deprecated aliases? There has been persistant objections to adding a non-buildable or deprecated flag to GtkParamSpec...
Fixed more or less by putting "Deprecating property, use ..." in the blurb. This is a lousy way to do property deprecation, and will require special-casing in Glade (which Glade already needs anyways because we don't have the obvious BUILDABLE paramspec flag either.) However, it will do for now. More standard flags can be added for 2.2.