f-spot r4117 - in trunk: . src



Author: jmas
Date: Sat Jun 28 10:25:03 2008
New Revision: 4117
URL: http://svn.gnome.org/viewvc/f-spot?rev=4117&view=rev

Log:
Fixes #540524

Modified:
   trunk/ChangeLog
   trunk/src/FullScreenView.cs
   trunk/src/TextureDisplay.cs

Modified: trunk/src/FullScreenView.cs
==============================================================================
--- trunk/src/FullScreenView.cs	(original)
+++ trunk/src/FullScreenView.cs	Sat Jun 28 10:25:03 2008
@@ -227,6 +227,7 @@
 		
 		private void ExitAction (object sender, System.EventArgs args)
 		{
+			display.Dispose ();
 			this.Destroy ();
 		}
 

Modified: trunk/src/TextureDisplay.cs
==============================================================================
--- trunk/src/TextureDisplay.cs	(original)
+++ trunk/src/TextureDisplay.cs	Sat Jun 28 10:25:03 2008
@@ -98,6 +98,12 @@
 			flip.RunWhenStarted = false;
 		}
 
+		public override void Dispose ()
+		{
+			if (glx != null)
+				glx.Destroy ();
+		}
+
 		GlTransition [] transitions = new GlTransition []
 			{
 				new GlTransition.Dissolve (),



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