summaryrefslogtreecommitdiff
path: root/gtk/gtkprogressbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-16 15:13:33 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-16 15:13:33 -0500
commit43f822e70fbdf4ffeb2354a65c801c77877e01d2 (patch)
tree28a2f4466932c62884f07e9d6eea6409d719fa6c /gtk/gtkprogressbar.c
parent08c4bc8aa555db6378311d7fb4d050e96b4ff28a (diff)
downloadgtk+-43f822e70fbdf4ffeb2354a65c801c77877e01d2.tar.gz
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.
Diffstat (limited to 'gtk/gtkprogressbar.c')
-rw-r--r--gtk/gtkprogressbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprogressbar.c b/gtk/gtkprogressbar.c
index ee8a07a30d..2b325e1b6e 100644
--- a/gtk/gtkprogressbar.c
+++ b/gtk/gtkprogressbar.c
@@ -270,7 +270,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
P_("X spacing"),
P_("Extra spacing applied to the width of a progress bar."),
0, G_MAXINT, 2,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE|G_PARAM_DEPRECATED));
/**
* GtkProgressBar:yspacing:
@@ -285,7 +285,7 @@ gtk_progress_bar_class_init (GtkProgressBarClass *class)
P_("Y spacing"),
P_("Extra spacing applied to the height of a progress bar."),
0, G_MAXINT, 2,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE|G_PARAM_DEPRECATED));
/**
* GtkProgressBar:min-horizontal-bar-width: