[gtk+/wip/baedert/drawing: 56/262] separator: Remove css box drawing



commit e853dc4b25c54a5d5ec059be74883654c5fa4dcd
Author: Timm Bäder <mail baedert org>
Date:   Wed May 3 11:37:20 2017 +0200

    separator: Remove css box drawing

 gtk/gtkseparator.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c
index 03a3282..58a8500 100644
--- a/gtk/gtkseparator.c
+++ b/gtk/gtkseparator.c
@@ -146,13 +146,6 @@ gtk_separator_size_allocate (GtkWidget     *widget,
 }
 
 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)
 {
   GtkCssNode *widget_node;
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]