summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2014-05-04 20:46:42 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2014-05-04 20:22:23 -0700
commitec236f8f0166e2d65826e9ecdcfb9d3f1777d73f (patch)
tree2323de59ff26c48e33ffda785d7e9bad1712eab7
parentbb9bb6de78e930eb0774639a5d753e9bc9ae87b3 (diff)
downloadgtk+-wip/focusprops.tar.gz
widget: deprecate focus-line-width style propertywip/focusprops
Nothing in GTK uses it anymore.
-rw-r--r--gtk/gtkwidget.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 24d89e3435..7c69ad252b 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -3456,13 +3456,20 @@ G_GNUC_END_IGNORE_DEPRECATIONS
P_("Whether to draw the focus indicator inside widgets"),
TRUE,
GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
-
+ /**
+ * GtkWidget:focus-line-width:
+ *
+ * The "focus-line-width" style property defines the width,
+ * in pixels, of the focus indicator line
+ *
+ * Deprecated: 3.14: use the outline-width and padding CSS properties instead.
+ */
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("focus-line-width",
P_("Focus linewidth"),
P_("Width, in pixels, of the focus indicator line"),
0, G_MAXINT, 1,
- GTK_PARAM_READABLE));
+ GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
/**
* GtkWidget:focus-line-pattern:
*