how to "dynamically unload" interfaces with libglade



Let

GladeXML *Xml1, *Xml2;
Xml1 = glade_xml_new("foo.glade", NULL, NULL);
Xml2 = glade_xml_new("bar.glade", NULL, NULL);

At some point I want to destroy and unreference Xml2... What is the
"proper" way to do so? Using g_object_unref?? One point is that at
some later stage in my program I would like something like:
Xml2 = glade_xml_new("bar.glade", NULL, NULL);

Cheers
--
-- Yiannis



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