[gtk+/wip/entry-css-cleanups: 11/11] entry: deprecate the progress-border style property



commit 1797280a8ae78c9f7f38149123ab69ebcf3c72d0
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 30 17:27:17 2012 -0500

    entry: deprecate the progress-border style property
    
    Since we don't use it anymore.

 gtk/gtkentry.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index f73ccb4..28ca10b 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -1375,13 +1375,17 @@ gtk_entry_class_init (GtkEntryClass *class)
    * The border around the progress bar in the entry.
    *
    * Since: 2.16
+   *
+   * Deprecated: 3.4: Use the standard margin CSS property;
+   *   the value of this style property is ignored.
    */
   gtk_widget_class_install_style_property (widget_class,
 					   g_param_spec_boxed ("progress-border",
                                                                P_("Progress Border"),
                                                                P_("Border around the progress bar"),
                                                                GTK_TYPE_BORDER,
-                                                               GTK_PARAM_READABLE));
+                                                               GTK_PARAM_READABLE |
+                                                               G_PARAM_DEPRECATED));
   
   /**
    * GtkEntry:invisible-char:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]