Add a deprecation note

Mark GtkWidget:style property as deprecated in the docs.
This commit is contained in:
Matthias Clasen 2016-05-23 20:40:03 -04:00
parent 30c3d6af56
commit b90ae2cfbf

View File

@ -1239,6 +1239,13 @@ gtk_widget_class_init (GtkWidgetClass *klass)
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
/**
* GtkWidget:style:
*
* The style of the widget, which contains information about how it will look (colors, etc).
*
* Deprecated: Use #GtkStyleContext instead
*/
widget_props[PROP_STYLE] =
g_param_spec_object ("style",
P_("Style"),