Remove redundant gdk_region_destroy

This commit is contained in:
Robin Gareus 2025-01-17 18:18:36 +01:00
parent 44cc3e6775
commit 4e34c0a0e3
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -884,9 +884,6 @@ static int showInvalidation = 0;
r.width = bounds.size.width;
r.height = bounds.size.height;
if (impl->needs_display_region)
gdk_region_destroy (impl->needs_display_region);
impl->needs_display_region = gdk_region_rectangle (&r);
#if 0