[lightsoff/arnaudb/wip/gtk4: 16/28] The destroy signal is gone.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [lightsoff/arnaudb/wip/gtk4: 16/28] The destroy signal is gone.
- Date: Sat, 28 Nov 2020 14:29:47 +0000 (UTC)
commit bfd6f748242344a177638395eaf9cac4d5b4d198
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Nov 27 16:38:52 2020 +0100
The destroy signal is gone.
src/managed-window.vala | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/managed-window.vala b/src/managed-window.vala
index 9c94faf..a504fd9 100644
--- a/src/managed-window.vala
+++ b/src/managed-window.vala
@@ -31,7 +31,7 @@ private class ManagedWindow : ApplicationWindow
private inline void connect_callbacks ()
{
map.connect (init_state_watcher);
- destroy.connect (on_destroy);
+ unmap.connect (on_unmap);
}
private inline void init_state_watcher ()
@@ -78,10 +78,10 @@ private class ManagedWindow : ApplicationWindow
update_adaptative_children ();
}
- private inline void on_destroy ()
+ private inline void on_unmap ()
{
save_window_state ();
- base.destroy ();
+ base.unmap ();
}
/*\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]