[gtk+/wip/focusprops: 30/48] widget: deprecate focus-line-pattern style property



commit 396fd057c9723d0b977dd45d15fd5d8b729d239e
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 1eb0445..24d89e3 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]