Author: fejj
Date: 2008-02-05 16:45:01 -0500 (Tue, 05 Feb 2008)
New Revision: 94962

Modified:
   trunk/moon/src/font.h
   trunk/moon/src/runtime.cpp
Log:
call font_shutdown() in runtime_shutdown() to clean up all the temp font files 
we may have extracted

Modified: trunk/moon/src/font.h
===================================================================
--- trunk/moon/src/font.h       2008-02-05 21:41:16 UTC (rev 94961)
+++ trunk/moon/src/font.h       2008-02-05 21:45:01 UTC (rev 94962)
@@ -85,6 +85,7 @@
 
 G_BEGIN_DECLS
 void font_init (void);
+void font_shutdown (void);
 G_END_DECLS
 
 struct GlyphBitmap;

Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp  2008-02-05 21:41:16 UTC (rev 94961)
+++ trunk/moon/src/runtime.cpp  2008-02-05 21:45:01 UTC (rev 94962)
@@ -1841,7 +1841,7 @@
 #endif
 
 void
-runtime_shutdown ()
+runtime_shutdown (void)
 {
        if (!inited)
                return;
@@ -1850,6 +1850,8 @@
        
        animation_destroy ();
        text_destroy ();
+       font_shutdown ();
+       
        TimeManager::Instance()->Shutdown ();
        DependencyObject::Shutdown ();
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to