Timotheus Pokorra 48c0c4f
--- a/gnome/CanvasPathDef.custom	2018-06-02 20:11:18.813457515 +0000
Timotheus Pokorra 48c0c4f
+++ b/gnome/CanvasPathDef.custom	2018-06-02 20:11:42.937874368 +0000
Timotheus Pokorra 48c0c4f
@@ -21,9 +21,7 @@
Timotheus Pokorra 48c0c4f
 
Timotheus Pokorra 48c0c4f
 		public static CanvasPathDef NewFromBpath (Art.Bpath bpath)
Timotheus Pokorra 48c0c4f
 		{
Timotheus Pokorra 48c0c4f
-                        IntPtr native_bpath = GLib.Marshaller.StructureToPtrAlloc (bpath);
Timotheus Pokorra 48c0c4f
-                        CanvasPathDef result = new CanvasPathDef (gnome_canvas_path_def_new_from_bpath (native_bpath));
Timotheus Pokorra 48c0c4f
-			GLib.Marshaller.Free (native_bpath);
Timotheus Pokorra 48c0c4f
+			CanvasPathDef result = new CanvasPathDef (gnome_canvas_path_def_new_from_bpath (ref bpath));
Timotheus Pokorra 48c0c4f
 			return result;
Timotheus Pokorra 48c0c4f
 		}
Timotheus Pokorra 48c0c4f