[gtk+/wip/baedert/drawing: 26/359] separator: Remove css box drawing



commit 98ad30e03d5ca9ba4e62e79b9481778dc2083b8c
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]