RE: [gtkmm] Problems with TreeView on Windows



At 07:51 AM 6/12/2003 +0200, Murray Cumming Comneon com wrote:

> Second, something similar happen for the column mIcon (no
> icons are shown on
> Windows), and we get the following error message in the
> console for each
> displayed rows in the TreeView :
>
> GLib-GObject-WARNING **: unable to set property 'text' of
> type 'gchararray'
> from value of type 'GdkPixbuf'

The people who are using Windows will have to investigate this. It's
probably a problem with the append_column_editable() template. If you don't
want to investigate the problem, then you can use a workaround - just write
the code manually instead of using the template shortcut:
http://cvs.gnome.org/lxr/source/gtkmm-root/gtk-src/treeview.hg#408

I guess this was also observed on debian (http://bugzilla.gnome.org/show_bug.cgi?id=113688).

Yesterday, I tried to compile gtkmm with mingw-gcc-3.2.3 on win32. The problem is still there. It seems one gets the same behavior with Visual C++ (hence the workaround in the examples/book/treeview examples).

As I don't see anything particularly wrong in the treeview code, I'm thinking about a DLL or optimization-related problem. I'm currently compiling gtkmm as a static library with all optimizations turned off. Will see if it gets any better...

Cedric



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