wayland: Cosmetics

Don't clear the same pointer twice.
This commit is contained in:
Matthias Clasen 2024-04-12 19:47:41 -04:00
parent afe61e28e0
commit fc405f8882

View File

@ -46,7 +46,6 @@ gdk_wayland_subsurface_finalize (GObject *object)
g_clear_pointer (&self->viewport, wp_viewport_destroy); g_clear_pointer (&self->viewport, wp_viewport_destroy);
g_clear_pointer (&self->subsurface, wl_subsurface_destroy); g_clear_pointer (&self->subsurface, wl_subsurface_destroy);
g_clear_pointer (&self->surface, wl_surface_destroy); g_clear_pointer (&self->surface, wl_surface_destroy);
g_clear_pointer (&self->subsurface, wl_subsurface_destroy);
G_OBJECT_CLASS (gdk_wayland_subsurface_parent_class)->finalize (object); G_OBJECT_CLASS (gdk_wayland_subsurface_parent_class)->finalize (object);
} }