[chronojump] Added more Cairo disposed objects from last commits
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Added more Cairo disposed objects from last commits
- Date: Tue, 15 Mar 2022 09:21:23 +0000 (UTC)
commit 311a1bdec170c3ec0f34496e80806fbb98d1ba01
Author: Xavier de Blas <xaviblas gmail com>
Date: Tue Mar 15 10:20:50 2022 +0100
Added more Cairo disposed objects from last commits
src/gui/cairo/generic.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/cairo/generic.cs b/src/gui/cairo/generic.cs
index 1bf867284..aea47e7b1 100644
--- a/src/gui/cairo/generic.cs
+++ b/src/gui/cairo/generic.cs
@@ -61,9 +61,11 @@ public abstract class CairoGeneric
{
gArea.SetSource (surface);
gArea.Paint ();
- }
- surface.Dispose();
+ surface.Dispose();
+ gArea.GetTarget().Dispose ();
+ gArea.Dispose ();
+ }
}
g.GetTarget().Dispose ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]