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:
Matthias Clasen 2010-08-28 17:28:59 -04:00
parent c7e650ae5d
commit 91ce32602a
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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",