[gtkmm] glib warning with TreeModelColumn<guint16>



hi,

i have a Gtk::TreeModelColumn <guint16> and at runtime the glib says:
``GLib-GObject-CRITICAL **: gtype.c:1875: initialization assertion failed, use g_type_init() prior to this function"

the same is with any type of pointers.


when creating the treemodel (in my case a liststore), there comes another warning:
``Gtk-WARNING **: gtkliststore.c:377: Invalid type (null) passed to gtk_list_store_set_column_types"



but using e.g. int works without warning.


am i not supposed to use short, unsigned short or pointers? or is it a bug in gtkmm/gtk? it would limit the use of Gtk::TreeModelColumn a lot.


i use gtkmm 2.2.1



-- 
klaus triendl



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