diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-03 10:18:55 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:10 -0400 |
commit | 5a575c359433ce1a2323a01ef901261beb1b36ca (patch) | |
tree | 607c78d9af54371bf01cc4b67965f377d7082a4a /gtk/gtkgrid.c | |
parent | f73616ba47f1dc0391525875c1d5f459e255165e (diff) | |
download | gtk+-5a575c359433ce1a2323a01ef901261beb1b36ca.tar.gz |
gtkgrid: Remove css box drawing
Diffstat (limited to 'gtk/gtkgrid.c')
-rw-r--r-- | gtk/gtkgrid.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c index 7079991081..7dbcfa806f 100644 --- a/gtk/gtkgrid.c +++ b/gtk/gtkgrid.c @@ -1667,27 +1667,6 @@ gtk_grid_allocate (GtkCssGadget *gadget, gtk_grid_request_allocate_children (&request, allocation, out_clip); } -static gboolean -gtk_grid_render (GtkCssGadget *gadget, - GtkSnapshot *snapshot, - int x, - int y, - int width, - int height, - gpointer data) -{ - GTK_WIDGET_CLASS (gtk_grid_parent_class)->snapshot (gtk_css_gadget_get_owner (gadget), snapshot); - - return FALSE; -} - -static void -gtk_grid_snapshot (GtkWidget *widget, - GtkSnapshot *snapshot) -{ - gtk_css_gadget_snapshot (GTK_GRID (widget)->priv->gadget, snapshot); -} - static void gtk_grid_class_init (GtkGridClass *class) { @@ -1701,7 +1680,6 @@ gtk_grid_class_init (GtkGridClass *class) widget_class->size_allocate = gtk_grid_size_allocate; widget_class->measure = gtk_grid_measure_; - widget_class->snapshot = gtk_grid_snapshot; container_class->add = gtk_grid_add; container_class->remove = gtk_grid_remove; @@ -1808,7 +1786,7 @@ gtk_grid_init (GtkGrid *grid) GTK_WIDGET (grid), gtk_grid_measure, gtk_grid_allocate, - gtk_grid_render, + NULL, NULL, NULL); |