diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-12-15 06:27:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-12-15 08:41:16 -0500 |
commit | e02c21fdd89df227c856b91307c226a507f47fc6 (patch) | |
tree | 57688d207e89ad979707cb16389770d5700c865a /gtk/gtkbbox.c | |
parent | 49e24b05b58b13004a76f7e0ef0370ef191c59f4 (diff) | |
download | gtk+-e02c21fdd89df227c856b91307c226a507f47fc6.tar.gz |
button box: Deprecate style properties
These can all be replaced by standard CSS properties.
Diffstat (limited to 'gtk/gtkbbox.c')
-rw-r--r-- | gtk/gtkbbox.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/gtk/gtkbbox.c b/gtk/gtkbbox.c index 4c5d35bb58..2a0699cc67 100644 --- a/gtk/gtkbbox.c +++ b/gtk/gtkbbox.c @@ -168,6 +168,8 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) * GtkButtonBox:child-min-width: * * The minimum width of buttons inside the box. + * + * Deprecated: 3.20: Use CSS min-width instead. */ gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("child-min-width", @@ -176,12 +178,14 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) 0, G_MAXINT, DEFAULT_CHILD_MIN_WIDTH, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE|G_PARAM_DEPRECATED)); /** * GtkButtonBox:child-min-height: * * The minimum height of buttons inside the box. + * + * Deprecated: 3.20: Use CSS min-height instead. */ gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("child-min-height", @@ -190,12 +194,14 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) 0, G_MAXINT, DEFAULT_CHILD_MIN_HEIGHT, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE|G_PARAM_DEPRECATED)); /** * GtkButtonBox:child-internal-pad-x: * * The amount to increase a child's size on either side. + * + * Deprecated: 3.20: Use CSS padding instead. */ gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("child-internal-pad-x", @@ -204,12 +210,14 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) 0, G_MAXINT, DEFAULT_CHILD_IPAD_X, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE|G_PARAM_DEPRECATED)); /** * GtkButtonBox:child-internal-pad-y: * * The amount to increase a child's size on the top and bottom. + * + * Deprecated: 3.20: Use CSS padding instead. */ gtk_widget_class_install_style_property (widget_class, g_param_spec_int ("child-internal-pad-y", @@ -218,7 +226,7 @@ gtk_button_box_class_init (GtkButtonBoxClass *class) 0, G_MAXINT, DEFAULT_CHILD_IPAD_Y, - GTK_PARAM_READABLE)); + GTK_PARAM_READABLE|G_PARAM_DEPRECATED)); g_object_class_install_property (gobject_class, PROP_LAYOUT_STYLE, |