Re: Goocanvas in update from Gtk2 to Gtk3
- From: Paul Emsley <pemsley mrc-lmb cam ac uk>
- To: goocanvas-list gnome org
- Subject: Re: Goocanvas in update from Gtk2 to Gtk3
- Date: Mon, 18 Jan 2021 18:50:01 +0000
On 18/01/2021 17:33, damonachaplin gmail com wrote:
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.
My apologies for not being more clear. I have downloaded goocanvas-2.0.4
and am discussing the differences between:
$ ./configure --prefix=$HOME/goocanvas
and (from a parallel build directory)
$ ../goocanvas-2.0.4/configure --prefix=$HOME/goocanvas
I suspect a
problem with the build commands (i.e. with libtool) but I'm not sure.
I noticed that if I did:
$ bash ../goocanvas-2.0.4/configure --prefix=$HOME/goocanvas
then everything went to pot (i.e. libtool was in a mess)
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.)
Oh wow - good, I think. OK, so I can repeat that. If I go up a
directory, copy toroid.png and do
$ demo/demo
I see the same thing (missing menu bar, flashing graphics).
But maybe this is red herring. I will get back to work on a stand-alone
example.
Paul.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]