mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-09 05:15:31 +00:00
history-box: No need to unparent the stack
GTK cleans up for us Signed-off-by: Guido Günther <agx@sigxcpu.org> Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/756>
This commit is contained in:
parent
e2f3f5ef53
commit
12812f64c6
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue