From a7dc2b5061895a034a31856ccd492e6e58cc6050 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Thu, 14 Nov 2024 12:57:28 +0100 Subject: [PATCH] chart: Don't clip It doesn't seem necessary, and gets rid of the line cutoff in some graphs. --- src/sysprof/sysprof-chart.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sysprof/sysprof-chart.c b/src/sysprof/sysprof-chart.c index ea2ba09d..74737994 100644 --- a/src/sysprof/sysprof-chart.c +++ b/src/sysprof/sysprof-chart.c @@ -138,11 +138,6 @@ sysprof_chart_snapshot (GtkWidget *widget, g_assert (SYSPROF_IS_CHART (self)); - gtk_snapshot_push_clip (snapshot, - &GRAPHENE_RECT_INIT (0, 0, - gtk_widget_get_width (widget), - gtk_widget_get_height (widget))); - GTK_WIDGET_CLASS (sysprof_chart_parent_class)->snapshot (widget, snapshot); if (priv->pointer_in_chart) @@ -155,8 +150,6 @@ sysprof_chart_snapshot (GtkWidget *widget, priv->motion_x, priv->motion_y); } - - gtk_snapshot_pop (snapshot); } static gboolean