From 12812f64c633be1ae9793e256539c039d896ce74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 14 Sep 2024 11:01:02 +0200 Subject: [PATCH] history-box: No need to unparent the stack MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GTK cleans up for us Signed-off-by: Guido Günther Part-of: --- src/calls-history-box.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/calls-history-box.c b/src/calls-history-box.c index ca8838e..b22878f 100644 --- a/src/calls-history-box.c +++ b/src/calls-history-box.c @@ -229,14 +229,11 @@ static void dispose (GObject *object) { CallsHistoryBox *self = CALLS_HISTORY_BOX (object); - GtkWidget *stack = GTK_WIDGET (self->stack); g_clear_signal_handler (&self->model_changed_handler_id, self->model); g_clear_object (&self->slice_model); g_clear_object (&self->model); - g_clear_pointer (&stack, gtk_widget_unparent); - G_OBJECT_CLASS (calls_history_box_parent_class)->dispose (object); }