mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
treewide: gtk_widget_destroy()
removal
https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtk_widget_destroy-removal Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
parent
34a7651f44
commit
2b972ba035
2 changed files with 3 additions and 3 deletions
|
@ -763,9 +763,9 @@ finalize (GObject *object)
|
|||
g_clear_handle_id (&self->id_sigint, g_source_remove);
|
||||
|
||||
if (self->main_window)
|
||||
gtk_widget_destroy (GTK_WIDGET (self->main_window));
|
||||
gtk_window_destroy (GTK_WINDOW (self->main_window));
|
||||
if (self->call_window)
|
||||
gtk_widget_destroy (GTK_WIDGET (self->call_window));
|
||||
gtk_window_destroy (GTK_WINDOW (self->call_window));
|
||||
|
||||
g_clear_object (&self->record_store);
|
||||
g_clear_object (&self->ringer);
|
||||
|
|
|
@ -414,7 +414,7 @@ dispose (GObject *object)
|
|||
|
||||
g_clear_object (&self->record_store);
|
||||
if (self->account_overview) {
|
||||
gtk_widget_destroy (GTK_WIDGET (self->account_overview));
|
||||
gtk_window_destroy (GTK_WINDOW (self->account_overview));
|
||||
self->account_overview = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue