summaryrefslogtreecommitdiff
path: root/gtk/gtkcenterbox.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-06-10 21:30:23 +0200
committerTimm Bäder <mail@baedert.org>2018-06-16 10:09:12 +0200
commit0b12fd9c1b583bebcd2022021b9a8ebcbd7c4ffb (patch)
tree009e46ab7575301042a24a0f7b60871c7bc7ca80 /gtk/gtkcenterbox.c
parent7f8106f2a9ba72d1d50a6e67f2d2e19906c3f396 (diff)
downloadgtk+-0b12fd9c1b583bebcd2022021b9a8ebcbd7c4ffb.tar.gz
center box: Remove snapshot implementation
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;