forked from AuroraMiddleware/gtk
separator: Remove css box drawing
This commit is contained in:
parent
5504dc6684
commit
25198eb00a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user