Re: Goocanvas in update from Gtk2 to Gtk3



On Mon, 2021-01-18 at 12:34 +0000, Paul Emsley via goocanvas-list
wrote:

I get a number of add private warnings, e.g.

goocanvas.c:1130:13: warning: G_ADD_PRIVATE

I presume that I can ignore those.

Other than that, this is the only concern:

   CC       goocanvasitemsimple.lo
goocanvasitemsimple.c: In function
'goo_canvas_item_simple_set_model':
goocanvasitemsimple.c:1539:15: warning: assignment to 
'GooCanvasItemModelSimple *' {aka 'struct _GooCanvasItemModelSimple
*'} 
from incompatible pointer type 'GooCanvasItemModel *' {aka 'struct 
_GooCanvasItemModel *'} [-Wincompatible-pointer-types]
  1539 |   item->model = g_object_ref (model);
       |               ^

Yes, these aren't important. Mainly due to still using deprecated
stuff, and not specifying a type explicitly.



I copied over toroid.png to the out-of-tree demo directory and ran
it 
there. I get no longer get the "Could not find the toroid.png sample
file"

message, but the "drawing failure for widget" errors remain, as do
the 
missing menu bar and flashing graphics.

If you send me your out-of-tree sources I'll have a look. I suspect a
problem with the build commands (i.e. with libtool) but I'm not sure.

If I run the demo outside the demo directory I get the flickering too.
It is a bit odd. (But I don't think it is a goocanvas problem.)

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]