[mutter] wayland: Remove the stage destroy hook



commit a0d608e08358a175736b14ca14e11bbcd17806da
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Apr 22 14:33:43 2014 -0400

    wayland: Remove the stage destroy hook
    
    We assert fail / segfault when pressing the "X" button anyway, so
    I don't think it does us too much good.

 src/wayland/meta-wayland.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 98c1660..0c4aef7 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -501,12 +501,6 @@ compositor_bind (struct wl_client *client,
   wl_resource_set_implementation (resource, &meta_wayland_compositor_interface, compositor, NULL);
 }
 
-static void
-stage_destroy_cb (void)
-{
-  meta_quit (META_EXIT_SUCCESS);
-}
-
 /**
  * meta_wayland_compositor_update:
  * @compositor: the #MetaWaylandCompositor instance
@@ -638,8 +632,6 @@ meta_wayland_init (void)
   compositor->outputs = meta_wayland_compositor_update_outputs (compositor, monitors);
 
   compositor->stage = meta_wayland_stage_new ();
-  g_signal_connect (compositor->stage, "destroy",
-                    G_CALLBACK (stage_destroy_cb), NULL);
 
   meta_wayland_data_device_manager_init (compositor->wayland_display);
 


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