[gtk+] widget: deprecate focus-line-pattern style property
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: deprecate focus-line-pattern style property
- Date: Fri, 9 May 2014 18:07:40 +0000 (UTC)
commit e8c906966e36135ded072d56d713d053cc87b8d6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sun May 4 18:46:11 2014 +0200
widget: deprecate focus-line-pattern style property
Nothing in GTK uses it.
gtk/gtkwidget.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 437f063..41c1252 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -3463,13 +3463,21 @@ G_GNUC_END_IGNORE_DEPRECATIONS
P_("Width, in pixels, of the focus indicator
line"),
0, G_MAXINT, 1,
GTK_PARAM_READABLE));
-
+ /**
+ * GtkWidget:focus-line-pattern:
+ *
+ * The "focus-line-pattern" style property defines the dash pattern used to
+ * draw the focus indicator. The character values are interpreted as pixel
+ * widths of alternating on and off segments of the line.
+ *
+ * Deprecated: 3.14: use the outline-style CSS property instead.
+ */
gtk_widget_class_install_style_property (klass,
g_param_spec_string ("focus-line-pattern",
P_("Focus line dash pattern"),
P_("Dash pattern used to draw the focus
indicator. The character values are interpreted as pixel widths of alternating on and off segments of the
line."),
"\1\1",
- GTK_PARAM_READABLE));
+ GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
/**
* GtkWidget:focus-padding:
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]