From 43f822e70fbdf4ffeb2354a65c801c77877e01d2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 16 Nov 2015 15:13:33 -0500 Subject: Annotate deprecated style properties Use G_PARAM_DEPRECATED with deprecated style properties. This will make it easier to identify and remove such stale properties from css, since it will now trigger warnings. --- gtk/gtkassistant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkassistant.c') diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index a2e009e27d..2945d534ee 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -543,7 +543,7 @@ gtk_assistant_class_init (GtkAssistantClass *class) 0, G_MAXINT, 6, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE | G_PARAM_DEPRECATED)); /** * GtkAssistant:content-padding: @@ -559,7 +559,7 @@ gtk_assistant_class_init (GtkAssistantClass *class) 0, G_MAXINT, 1, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE | G_PARAM_DEPRECATED)); /** * GtkAssistant:page-type: -- cgit v1.2.1