Gtk::Builder::create_from_file throwing bad exception



hi all
i am trying to code a test application using gtkmm
when i try to load the .glade file i get this:

(UI:2038): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion
`quark > 0' failed

(UI:2038): glibmm-WARNING **: Glib::Error::throw_exception():
  unknown error domain 'gtk-builder-error-quark': throwing generic
Glib::Error exception

terminate called after throwing an instance of 'Glib::Error'


and the program exits.

the line throwing the exception is:

Glib::RefPtr<Gtk::Builder> builder =
Gtk::Builder::create_from_file("/home/user/glade_test/test.glade");

i am on linux using gtkmm 2.4
i don't understand where the problem is,
anyone can help??

thanks in advance



-- 
View this message in context: http://old.nabble.com/Gtk%3A%3ABuilder%3A%3Acreate_from_file-throwing-bad-exception-tp30604336p30604336.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]