summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdk/x11/gdksurface-x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index 9ae867eb6f..a76e4824f2 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -1358,6 +1358,7 @@ gdk_x11_surface_destroy (GdkSurface *surface,
unhook_surface_changed (surface);
disconnect_frame_clock (surface);
+ g_clear_handle_id (&impl->compute_size_source_id, g_source_remove);
if (impl->cairo_surface)
{