[gtk+/wip/baedert/drawing: 45/186] separator: Remove css box drawing



commit ada6bf35218713ac6c9a3a517ca32db4a86d823b
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]