[gtk+/wip/matthiasc/kill-event-signals: 72/130] icon-browser: Stop connecting to ::delete-event
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/kill-event-signals: 72/130] icon-browser: Stop connecting to ::delete-event
- Date: Sat, 6 Jan 2018 23:41:45 +0000 (UTC)
commit d465c4ec251537084417c1fab8cce4048349340c
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 31 12:57:39 2017 -0500
icon-browser: Stop connecting to ::delete-event
We can just use GtkWindow::hide-on-delete
demos/icon-browser/window.ui | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/icon-browser/window.ui b/demos/icon-browser/window.ui
index c04aec2..a3ed292 100644
--- a/demos/icon-browser/window.ui
+++ b/demos/icon-browser/window.ui
@@ -140,7 +140,7 @@
<property name="modal">True</property>
<property name="use-header-bar">1</property>
<property name="resizable">False</property>
- <signal name="delete-event" handler="gtk_widget_hide_on_delete"/>
+ <property name="hide-on-close">1</property>
<child internal-child="vbox">
<object class="GtkBox">
<child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]