hi, all Glib::RefPtr<Gnome::Glade::Xml> refXml; //<-- this pointer try { refXml = Gnome::Glade::Xml::create("somefile"); } catch (const Gnome::Glade::XmlError& ex) { // should i delete it ? // how to delete it by myself? g_print(ex.what().c_str()); return 1; }
may i declare refXml like this: auto_ptr<Glib::RefPtr<Gnome::Glade::Xml>> refXml ? - Wuan Thanks all for replies _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list