forked from AuroraMiddleware/gtk
Add a deprecation note
Mark GtkWidget:style property as deprecated in the docs.
This commit is contained in:
parent
30c3d6af56
commit
b90ae2cfbf
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user