Deprecate 'opt-in' style properties

The following style properties are there to let theme engines 'opt-in'
to more correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct behaviour,
and these properties will no longer be there in GTK+ 3:
GtkEntry::state-hint
GtkTreeView::row-ending-details
GtkRange::trough-side-details
GtkRange::stepper-position-details
GtkRange::activate-slider
This commit is contained in:
Matthias Clasen 2010-09-01 22:19:20 -04:00
parent 7f2b4bb381
commit 49e18a29b2
3 changed files with 21 additions and 0 deletions

View File

@ -1749,6 +1749,8 @@ gtk_entry_class_init (GtkEntryClass *class)
* drawing the shadow and the widget background.
*
* Since: 2.16
*
* Deprecated: 2.22: This style property will be removed in GTK+ 3
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("state-hint",

View File

@ -512,6 +512,14 @@ gtk_range_class_init (GtkRangeClass *class)
0,
GTK_PARAM_READABLE));
/**
* GtkRange:activate-slider:
*
* When %TRUE, sliders will be drawn active and with shadow in
* while they are dragged.
*
* Deprecated: 2.22: This style property will be removed in GTK+ 3
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("activate-slider",
P_("Draw slider ACTIVE during drag"),
@ -526,6 +534,8 @@ gtk_range_class_init (GtkRangeClass *class)
* slider are drawn with different details.
*
* Since: 2.10
*
* Deprecated: 2.22: This style property will be removed in GTK+ 3
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("trough-side-details",
@ -572,6 +582,8 @@ gtk_range_class_init (GtkRangeClass *class)
* suffixed with information about the stepper position.
*
* Since: 2.22
*
* Deprecated: 2.22: This style property will be removed in GTK+ 3
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("stepper-position-details",

View File

@ -830,6 +830,13 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GDK_TYPE_COLOR,
GTK_PARAM_READABLE));
/**
* GtkTreeView:row-ending-details:
*
* Enable extended row background themeing
*
* Deprecated: 2.22: This style property will be removed in GTK+ 3
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_boolean ("row-ending-details",
P_("Row Ending details"),