[gtk+/wip/cosimoc/range-gadget: 22/63] range: deprecate arrow-scaling style property
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cosimoc/range-gadget: 22/63] range: deprecate arrow-scaling style property
- Date: Sun, 28 Feb 2016 17:27:49 +0000 (UTC)
commit 607816f6cc40da179df207356f1898cfe8d8dbfd
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Jan 16 16:27:35 2016 -0800
range: deprecate arrow-scaling style property
This can be done with CSS now.
gtk/gtkrange.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 5e8a320..bfef475 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -625,13 +625,16 @@ gtk_range_class_init (GtkRangeClass *class)
* The arrow size proportion relative to the scroll button size.
*
* Since: 2.14
+ *
+ * Deprecated: 3.20: Use min-width/min-height on the "button" node instead.
+ * The value of this style property is ignored.
*/
gtk_widget_class_install_style_property (widget_class,
g_param_spec_float ("arrow-scaling",
P_("Arrow scaling"),
P_("Arrow scaling with regard to scroll button
size"),
0.0, 1.0, 0.5,
- GTK_PARAM_READABLE));
+ GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_RANGE_ACCESSIBLE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]