Author: toshok
Date: 2007-06-22 00:32:39 -0400 (Fri, 22 Jun 2007)
New Revision: 80523
Modified:
trunk/moon/examples/gnome/gnomoon.cpp
Log:
unlink the temp file
Modified: trunk/moon/examples/gnome/gnomoon.cpp
===================================================================
--- trunk/moon/examples/gnome/gnomoon.cpp 2007-06-22 04:28:37 UTC (rev
80522)
+++ trunk/moon/examples/gnome/gnomoon.cpp 2007-06-22 04:32:39 UTC (rev
80523)
@@ -142,6 +142,9 @@
/* parse the file, which in turn starts the image downloads if
there are any, using our gnomevfs downloader. */
UIElement *e = xaml_create_from_file (tmp_file, true,
_custom_element_callback, _custom_attribute_callback, _event_callback, &kind);
+
+ unlink (tmp_file);
+
if (e == NULL){
printf ("Was not able to load the uri\n");
return 1;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches