[gtk+] entry: Deprecate shadow-type



commit d73f6b8c50d31fffe0c4e237b6b39391c9f8faf0
Author: Timm Bäder <mail baedert org>
Date:   Mon Jan 18 12:46:18 2016 +0100

    entry: Deprecate shadow-type
    
    Things like that should be handled using css. Also, the property value
    is unused inside GtkEntry.

 gtk/gtkentry.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 94e2856..967522c 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -975,6 +975,9 @@ gtk_entry_class_init (GtkEntryClass *class)
    * Which kind of shadow to draw around the entry when
    * #GtkEntry:has-frame is set to %TRUE.
    *
+   * Deprecated: 3.20: Use CSS to determine the style of the border;
+   *     the value of this style property is ignored.
+   *
    * Since: 2.12
    */
   entry_props[PROP_SHADOW_TYPE] =
@@ -983,7 +986,7 @@ gtk_entry_class_init (GtkEntryClass *class)
                          P_("Which kind of shadow to draw around the entry when has-frame is set"),
                          GTK_TYPE_SHADOW_TYPE,
                          GTK_SHADOW_IN,
-                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
+                         GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED);
 
   /**
    * GtkEntry:overwrite-mode:


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