[gtk/wip/chergert/quartz4u] macos: fix ownership for region
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u] macos: fix ownership for region
- Date: Tue, 5 May 2020 21:51:16 +0000 (UTC)
commit aa7bae38b03faa742ee3a3596b60f03da19a91a9
Author: Christian Hergert <chergert redhat com>
Date: Tue May 5 14:46:53 2020 -0700
macos: fix ownership for region
gdk/macos/gdkmacoscairocontext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/macos/gdkmacoscairocontext.c b/gdk/macos/gdkmacoscairocontext.c
index a3ef32fc84..e758a682f2 100644
--- a/gdk/macos/gdkmacoscairocontext.c
+++ b/gdk/macos/gdkmacoscairocontext.c
@@ -130,7 +130,7 @@ _gdk_macos_cairo_context_end_frame (GdkDrawContext *draw_context,
if (GDK_IS_MACOS_SURFACE (surface))
_gdk_macos_surface_damage_cairo (GDK_MACOS_SURFACE (surface),
g_steal_pointer (&self->window_surface),
- painted);
+ cairo_region_reference (painted));
g_clear_pointer (&self->paint_surface, cairo_surface_destroy);
g_clear_pointer (&self->window_surface, cairo_surface_destroy);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]