mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
Use G_PARAM_DEPRECATED for deprecated shadow properties
These have been deprecated for a long time, marking them as such will make diagnostic mode more useful.
This commit is contained in:
parent
c7e650ae5d
commit
91ce32602a
@ -131,7 +131,7 @@ gtk_frame_class_init (GtkFrameClass *class)
|
||||
P_("Deprecated property, use shadow_type instead"),
|
||||
GTK_TYPE_SHADOW_TYPE,
|
||||
GTK_SHADOW_ETCHED_IN,
|
||||
GTK_PARAM_READWRITE));
|
||||
GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SHADOW_TYPE,
|
||||
g_param_spec_enum ("shadow-type",
|
||||
|
@ -167,7 +167,7 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class)
|
||||
P_("Deprecated property, use shadow_type instead"),
|
||||
GTK_TYPE_SHADOW_TYPE,
|
||||
GTK_SHADOW_OUT,
|
||||
GTK_PARAM_READWRITE));
|
||||
GTK_PARAM_READWRITE | G_PARAM_DEPRECATED));
|
||||
g_object_class_install_property (gobject_class,
|
||||
PROP_SHADOW_TYPE,
|
||||
g_param_spec_enum ("shadow-type",
|
||||
|
Loading…
Reference in New Issue
Block a user