diff options
author | Timm Bäder <mail@baedert.org> | 2018-06-10 21:30:23 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-06-16 10:09:12 +0200 |
commit | 0b12fd9c1b583bebcd2022021b9a8ebcbd7c4ffb (patch) | |
tree | 009e46ab7575301042a24a0f7b60871c7bc7ca80 /gtk/gtkcenterbox.c | |
parent | 7f8106f2a9ba72d1d50a6e67f2d2e19906c3f396 (diff) | |
download | gtk+-0b12fd9c1b583bebcd2022021b9a8ebcbd7c4ffb.tar.gz |
center box: Remove snapshot implementation
Diffstat (limited to 'gtk/gtkcenterbox.c')
-rw-r--r-- | gtk/gtkcenterbox.c | 17 |
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; |