Re: NewtCanvasSWT Linux Exception with GTK_VERSION
Posted by Wade Walker on Feb 07, 2019; 2:14am
URL: https://forum.jogamp.org/NewtCanvasSWT-Linux-Exception-with-GTK-VERSION-tp4039442p4039491.html
OK, it doesn't seem like the gdk_window_set_back_pixmap() --> gdk_window_set_background_pattern() replacement is causing the problem. It looks like the test is somehow consuming Cairo handles as its window proc is called, so if I let it run freely, it eats up all the handles and dies. But if I put in a breakpoint and step through slowly, it works :) So I need to figure out where in the chain a handle isn't being freed. This could be a tough error, since NewtCanvasSWT was probably never tested on GTK 3, but I'll keep poking and see what comes up.