summaryrefslogtreecommitdiff
path: root/gtk/gtkcenterbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcenterbox.c')
-rw-r--r--gtk/gtkcenterbox.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gtk/gtkcenterbox.c b/gtk/gtkcenterbox.c
index 2d3354c0d7..094fa0e981 100644
--- a/gtk/gtkcenterbox.c
+++ b/gtk/gtkcenterbox.c
@@ -536,22 +536,6 @@ gtk_center_box_size_allocate (GtkWidget *widget,
}
static void
-gtk_center_box_snapshot (GtkWidget *widget,
- GtkSnapshot *snapshot)
-{
- GtkCenterBox *self = GTK_CENTER_BOX (widget);
-
- if (self->start_widget)
- gtk_widget_snapshot_child (widget, self->start_widget, snapshot);
-
- if (self->center_widget)
- gtk_widget_snapshot_child (widget, self->center_widget, snapshot);
-
- if (self->end_widget)
- gtk_widget_snapshot_child (widget, self->end_widget, snapshot);
-}
-
-static void
update_css_node_order (GtkCenterBox *self)
{
GtkCssNode *parent;
@@ -703,7 +687,6 @@ gtk_center_box_class_init (GtkCenterBoxClass *klass)
widget_class->measure = gtk_center_box_measure;
widget_class->size_allocate = gtk_center_box_size_allocate;
- widget_class->snapshot = gtk_center_box_snapshot;
widget_class->direction_changed = gtk_center_box_direction_changed;
widget_class->get_request_mode = gtk_center_box_get_request_mode;