ERROR : Gtk::Builder::get_widget(): dynamic_cast<> failed



Hello, 

I amb using Glade 3.4.5, from which I generate a .glade file and later a
.xml one with gtk-builder-convert command. My problem is that, once I have
successfully instantiate a Gtk::Builder that reads from that .xml file, I
get always following error no matter which widget I try to access:

(<unknown>:8553): glibmm-CRITICAL **: Glib::ObjectBase*
Glib::wrap_create_new_wrapper(GObject*): assertion `wrap_func_table != 0'
failed

(<unknown>:8553): glibmm-WARNING **: Failed to wrap object of type
'gtkmm__GtkWindow'. Hint: this error is commonly caused by failing to call a
library init() function.

** (<unknown>:8553): CRITICAL **: Gtk::Builder::get_widget(): dynamic_cast<>
failed.

Is something I amb doing wrong? In fact, I already had used gtkmm and glade
and I never had this problem before.
-- 
View this message in context: http://old.nabble.com/ERROR-%3A-Gtk%3A%3ABuilder%3A%3Aget_widget%28%29%3A-dynamic_cast%3C%3E-failed-tp27714226p27714226.html
Sent from the Gtkmm mailing list archive at Nabble.com.



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