separator: Remove css box drawing

This commit is contained in:
Timm Bäder 2017-05-03 11:37:20 +02:00 committed by Matthias Clasen
parent 5504dc6684
commit 25198eb00a

View File

@ -145,13 +145,6 @@ gtk_separator_size_allocate (GtkWidget *widget,
gtk_widget_set_clip (widget, &clip);
}
static void
gtk_separator_snapshot (GtkWidget *widget,
GtkSnapshot *snapshot)
{
gtk_css_gadget_snapshot (GTK_SEPARATOR (widget)->priv->gadget, snapshot);
}
static void
gtk_separator_init (GtkSeparator *separator)
{
@ -195,8 +188,6 @@ gtk_separator_class_init (GtkSeparatorClass *class)
widget_class->measure = gtk_separator_measure;
widget_class->size_allocate = gtk_separator_size_allocate;
widget_class->snapshot = gtk_separator_snapshot;
g_object_class_override_property (object_class, PROP_ORIENTATION, "orientation");
gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_SEPARATOR);