From 25b5ea8b4fdcf71246c2c587c419deafdbcc3853 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 9 Nov 2013 11:06:53 -0500 Subject: [PATCH] screen: Laters are not GSources This warns with the new GLib when we destroy the screen. https://bugzilla.gnome.org/show_bug.cgi?id=711731 --- src/core/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/screen.c b/src/core/screen.c index c0ec71d40..e07e5b362 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -859,9 +859,9 @@ meta_screen_free (MetaScreen *screen, screen->wm_sn_selection_window); if (screen->work_area_later != 0) - g_source_remove (screen->work_area_later); + meta_later_remove (screen->work_area_later); if (screen->check_fullscreen_later != 0) - g_source_remove (screen->check_fullscreen_later); + meta_later_remove (screen->check_fullscreen_later); if (screen->monitor_infos) g_free (screen->monitor_infos);