Update of /cvsroot/gtkpod/gtkpod/src
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv26078/src
Modified Files:
Tag: fetchcover_development_branch
misc.h main.c misc_confirm.c
Log Message:
- Added in LIBXML_TEST_VERSION pragma to main.c
- Added xmldump and xmlcleanup to misc_confirm.c to perform xml cleanup on quit
Index: misc.h
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/misc.h,v
retrieving revision 1.121
retrieving revision 1.121.2.1
diff -u -d -r1.121 -r1.121.2.1
--- misc.h 16 Jan 2007 14:08:55 -0000 1.121
+++ misc.h 12 Mar 2007 22:14:41 -0000 1.121.2.1
@@ -38,12 +38,15 @@
#include <gtk/gtk.h>
#include <glade/glade.h>
#include <stdio.h>
+#include <libxml/xmlversion.h>
+#include <libxml/xmlmemory.h>
#include "file.h"
#include "display_itdb.h"
#include "display.h"
#include "confirmation.h"
#include "time.h"
+
#define C_FREE(a) {g_free(a); a=NULL;}
/* where to find the scripts */
Index: main.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/main.c,v
retrieving revision 1.60
retrieving revision 1.60.2.1
diff -u -d -r1.60 -r1.60.2.1
--- main.c 22 Feb 2007 15:05:53 -0000 1.60
+++ main.c 12 Mar 2007 22:14:41 -0000 1.60.2.1
@@ -116,6 +116,9 @@
printf ("Using local gtkpod.glade file since program was started from
source directory:\n%s\n", xml_file);
}
+ /* Initialisation of libxml */
+ LIBXML_TEST_VERSION;
+
main_window_xml = glade_xml_new (xml_file, "gtkpod", NULL);
glade_xml_signal_autoconnect (main_window_xml);
Index: misc_confirm.c
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/src/misc_confirm.c,v
retrieving revision 1.47
retrieving revision 1.47.2.1
diff -u -d -r1.47 -r1.47.2.1
--- misc_confirm.c 27 Feb 2007 22:42:44 -0000 1.47
+++ misc_confirm.c 12 Mar 2007 22:14:41 -0000 1.47.2.1
@@ -886,6 +886,9 @@
#endif
display_cleanup ();
+ xmlCleanupParser();
+ xmlMemoryDump();
+
call_script ("gtkpod.out", NULL);
gtk_main_quit ();
return FALSE;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2