From a0d608e08358a175736b14ca14e11bbcd17806da Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 22 Apr 2014 14:33:43 -0400 Subject: [PATCH] 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 file changed, 8 deletions(-) diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c index 98c1660d8..0c4aef7ac 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);