[gnome-taquin/arnaudb/wip/gtk4] Comment for now destroy thing.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin/arnaudb/wip/gtk4] Comment for now destroy thing.
- Date: Tue, 29 Sep 2020 16:06:17 +0000 (UTC)
commit a877c05e3fa6261d5e9bdb00d1f58afbd2b53d36
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Sep 29 17:55:20 2020 +0200
Comment for now destroy thing.
data/ui/adaptative-window.ui | 1 -
src/adaptative-window.vala | 13 ++++++-------
2 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/data/ui/adaptative-window.ui b/data/ui/adaptative-window.ui
index 298609b..6872746 100644
--- a/data/ui/adaptative-window.ui
+++ b/data/ui/adaptative-window.ui
@@ -22,6 +22,5 @@
<property name="width-request">350</property> <!-- 360px max for Purism Librem 5 portrait, for 648px
height; update gschema also -->
<signal name="map" handler="init_state_watcher"/>
<signal name="size-allocate" handler="on_size_allocate"/>
- <signal name="destroy" handler="on_destroy"/>
</template>
</interface>
diff --git a/src/adaptative-window.vala b/src/adaptative-window.vala
index f797707..d74f9fa 100644
--- a/src/adaptative-window.vala
+++ b/src/adaptative-window.vala
@@ -266,13 +266,12 @@ private abstract class AdaptativeWindow : ApplicationWindow
update_window_state ();
}
- [GtkCallback]
- private void on_destroy ()
- {
- before_destroy ();
- save_window_state ();
- base.destroy ();
- }
+// private void on_destroy ()
+// {
+// before_destroy ();
+// save_window_state ();
+// base.destroy ();
+// }
protected virtual void before_destroy () {}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]