gtk: Don't drop too many references
authorMatthias Clasen <mclasen@redhat.com>
Thu, 11 May 2023 00:19:23 +0000 (20:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 11 May 2023 10:13:03 +0000 (06:13 -0400)
commit1a9c03449e7b9441dc2680ee4b1ec1815b91f238
treef0b4e2238940facea07783d5852962c47d863506
parentaee214b09d41a481cfa1e26aa777b8f5da59e183
gtk: Don't drop too many references

We only have one reference to the surface,
and it is dropped by gdk_surface_destroy.

All the users of surfaces in gtk had the same
bug: they were all stealing an extra reference
to drop - the one that the renderer was leaking
until recently.
gtk/gtkpopover.c
gtk/gtktexthandle.c
gtk/gtktooltipwindow.c
gtk/gtkwindow.c