[gtk+/wip/matthiasc/kill-event-signals: 72/130] icon-browser: Stop connecting to ::delete-event



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]