From 2669c207bd8f413e5310d55eb247fbe5406eb432 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 23 May 2016 20:40:03 -0400 Subject: [PATCH] Add a deprecation note Mark GtkWidget:style property as deprecated in the docs. --- gtk/gtkwidget.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 4870911600..6715b114c8 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1243,6 +1243,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"),