diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-03 11:33:37 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:11 -0400 |
commit | 5504dc66841d9df612d5a268be4a0a4ccdd19cfb (patch) | |
tree | 1147fc26d14616fc0bd937526ebd36ab38d494bb /gtk/gtkstack.c | |
parent | c804e8a4c57996a9c83cfc339456a3ea4ba4c883 (diff) | |
download | gtk+-5504dc66841d9df612d5a268be4a0a4ccdd19cfb.tar.gz |
stack: Remove css box drawing
Diffstat (limited to 'gtk/gtkstack.c')
-rw-r--r-- | gtk/gtkstack.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c index 1c223396dc..4a0d6f9115 100644 --- a/gtk/gtkstack.c +++ b/gtk/gtkstack.c @@ -2052,22 +2052,6 @@ gtk_stack_snapshot (GtkWidget *widget, GtkStack *stack = GTK_STACK (widget); GtkStackPrivate *priv = gtk_stack_get_instance_private (stack); - gtk_css_gadget_snapshot (priv->gadget, snapshot); -} - -static gboolean -gtk_stack_render (GtkCssGadget *gadget, - GtkSnapshot *snapshot, - int x, - int y, - int width, - int height, - gpointer data) -{ - GtkWidget *widget = gtk_css_gadget_get_owner (gadget); - GtkStack *stack = GTK_STACK (widget); - GtkStackPrivate *priv = gtk_stack_get_instance_private (stack); - if (priv->visible_child) { if (gtk_progress_tracker_get_state (&priv->tracker) != GTK_PROGRESS_STATE_AFTER) @@ -2128,8 +2112,6 @@ gtk_stack_render (GtkCssGadget *gadget, priv->visible_child->widget, snapshot); } - - return FALSE; } static void @@ -2331,7 +2313,7 @@ gtk_stack_init (GtkStack *stack) GTK_WIDGET (stack), gtk_stack_measure, gtk_stack_allocate, - gtk_stack_render, + NULL, NULL, NULL); |