mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-12 20:00:09 +00:00
wayland: Cosmetics
Don't clear the same pointer twice.
This commit is contained in:
parent
afe61e28e0
commit
fc405f8882
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user