[gtk+] Drop an unintentional use of ::destroy-event



commit 2c2288206e3f6104ca74573227b71a90af8d9f06
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 31 13:26:13 2017 -0500

    Drop an unintentional use of ::destroy-event
    
    Clearly, ::destroy was meant here.

 tests/testcairo.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/testcairo.c b/tests/testcairo.c
index 08b4552..3f69ae6 100644
--- a/tests/testcairo.c
+++ b/tests/testcairo.c
@@ -200,8 +200,7 @@ main (int argc, char **argv)
   gtk_container_add (GTK_CONTAINER (window), darea);
 
   gtk_drawing_area_set_draw_func (GTK_DRAWING_AREA (darea), on_draw, NULL, NULL);
-  g_signal_connect (window, "destroy-event",
-                   G_CALLBACK (gtk_main_quit), NULL);
+  g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
 
   gtk_widget_show (window);
   


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]