[Glade-users] Global GladeXML



I do...

gxml = glade_xml_new (GLADE_FILE, NULL, NULL);
/* ... some code ... */
g_object_unref (G_OBJECT (gxml));

- Micah Carrick

  Developer - http://www.micahcarrick.com
  GTK+ Forums - http://www.gtkforums.com



Jonathan Lane wrote:
On Sat, 2007-05-26, Tristan Von Berkom wrote:

  
My main pointer for libglade usage is just free up that bloated
GladeXML memory hog as soon as possible at initialization time, its
just not meant to be kept around.
    

I've been wondering the same thing.  What is the proper way to free  
it up?  Just free() it?

-Jonathan
_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20070530/1cb0b7b6/attachment.html 



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