From: Mark S. <ma...@sp...> - 2002-10-15 16:21:44
|
Regarding the GladeXML object, it's a GObject... so yea, I should have called g_object_unref on it. The OS would free that memory at program end, but that's rather sloppy. Sorry about that, I'll be more careful :) There's a couple new (small) diffs attached, with calls to g_object_unref(). -- Mark A. Stratman ma...@sp... On Tue, 2002-10-15 at 00:43, Jason Long wrote: > This looks great! I applied your diffs (unfortunately I had to manually > apply the mainwin.c diff because I had made some changes to mainwin.c since > I received your patches). The changes have been committed to CVS. If you > want, let me know and I can give you CVS access. > > Concerning your question about the naming of mainwin, I put the code that > handles the main window in mainwin.c, as opposed to main.c, which has the > main () function. Perhaps the properties window could be called > propertiesdlg? > > I have a question about glade_xml_new. Is the data structure that it returns > ever need to be freed? > > That's all for now. Keep it touch :) > > Jason Long |