Commit d73f6b8c authored by Timm Bäder's avatar Timm Bäder
Browse files

entry: Deprecate shadow-type

Things like that should be handled using css. Also, the property value
is unused inside GtkEntry.
parent f74f81f0
...@@ -975,6 +975,9 @@ gtk_entry_class_init (GtkEntryClass *class) ...@@ -975,6 +975,9 @@ gtk_entry_class_init (GtkEntryClass *class)
* Which kind of shadow to draw around the entry when * Which kind of shadow to draw around the entry when
* #GtkEntry:has-frame is set to %TRUE. * #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 * Since: 2.12
*/ */
entry_props[PROP_SHADOW_TYPE] = entry_props[PROP_SHADOW_TYPE] =
...@@ -983,7 +986,7 @@ gtk_entry_class_init (GtkEntryClass *class) ...@@ -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"), P_("Which kind of shadow to draw around the entry when has-frame is set"),
GTK_TYPE_SHADOW_TYPE, GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_IN, GTK_SHADOW_IN,
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY); GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY|G_PARAM_DEPRECATED);
/** /**
* GtkEntry:overwrite-mode: * GtkEntry:overwrite-mode:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment