diff options
-rw-r--r-- | gtk/gtkframe.c | 10 | ||||
-rw-r--r-- | gtk/gtkhandlebox.c | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index 8817111c97..8afb35ac98 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -55,7 +55,6 @@ enum { PROP_LABEL, PROP_LABEL_XALIGN, PROP_LABEL_YALIGN, - PROP_SHADOW, PROP_SHADOW_TYPE, PROP_LABEL_WIDGET }; @@ -157,13 +156,6 @@ gtk_frame_class_init (GtkFrameClass *class) 0.5, GTK_PARAM_READWRITE)); g_object_class_install_property (gobject_class, - PROP_SHADOW, - g_param_spec_enum ("shadow", NULL, - P_("Deprecated property, use shadow_type instead"), - GTK_TYPE_SHADOW_TYPE, - GTK_SHADOW_ETCHED_IN, - GTK_PARAM_READWRITE)); - g_object_class_install_property (gobject_class, PROP_SHADOW_TYPE, g_param_spec_enum ("shadow-type", P_("Frame shadow"), @@ -249,7 +241,6 @@ gtk_frame_set_property (GObject *object, gtk_frame_set_label_align (frame, priv->label_xalign, g_value_get_float (value)); break; - case PROP_SHADOW: case PROP_SHADOW_TYPE: gtk_frame_set_shadow_type (frame, g_value_get_enum (value)); break; @@ -282,7 +273,6 @@ gtk_frame_get_property (GObject *object, case PROP_LABEL_YALIGN: g_value_set_float (value, priv->label_yalign); break; - case PROP_SHADOW: case PROP_SHADOW_TYPE: g_value_set_enum (value, priv->shadow_type); break; diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index 7153beb92a..3769b69568 100644 --- a/gtk/gtkhandlebox.c +++ b/gtk/gtkhandlebox.c @@ -69,7 +69,6 @@ struct _GtkHandleBoxPrivate enum { PROP_0, - PROP_SHADOW, PROP_SHADOW_TYPE, PROP_HANDLE_POSITION, PROP_SNAP_EDGE, @@ -185,13 +184,6 @@ gtk_handle_box_class_init (GtkHandleBoxClass *class) gobject_class->get_property = gtk_handle_box_get_property; g_object_class_install_property (gobject_class, - PROP_SHADOW, - g_param_spec_enum ("shadow", NULL, - P_("Deprecated property, use shadow_type instead"), - GTK_TYPE_SHADOW_TYPE, - GTK_SHADOW_OUT, - GTK_PARAM_READWRITE)); - g_object_class_install_property (gobject_class, PROP_SHADOW_TYPE, g_param_spec_enum ("shadow-type", P_("Shadow type"), @@ -306,7 +298,6 @@ gtk_handle_box_set_property (GObject *object, switch (prop_id) { - case PROP_SHADOW: case PROP_SHADOW_TYPE: gtk_handle_box_set_shadow_type (handle_box, g_value_get_enum (value)); break; @@ -337,7 +328,6 @@ gtk_handle_box_get_property (GObject *object, switch (prop_id) { - case PROP_SHADOW: case PROP_SHADOW_TYPE: g_value_set_enum (value, priv->shadow_type); break; |