f-spot r4299 - in trunk: . src/Widgets



Author: rubenv
Date: Tue Aug 26 14:43:44 2008
New Revision: 4299
URL: http://svn.gnome.org/viewvc/f-spot?rev=4299&view=rev

Log:
2008-08-26  Ruben Vermeersch  <ruben savanne be>

	* Widgets/EditorPage.cs: Fix a critical warning, caused by removing the
	editor configuration widget from the wrong parent. Amazed that it even
	worked in the first place.

Modified:
   trunk/ChangeLog
   trunk/src/Widgets/EditorPage.cs

Modified: trunk/src/Widgets/EditorPage.cs
==============================================================================
--- trunk/src/Widgets/EditorPage.cs	(original)
+++ trunk/src/Widgets/EditorPage.cs	Tue Aug 26 14:43:44 2008
@@ -113,7 +113,7 @@
 			// Remove any open editor, if present.
 			if (current_editor != null) {
 				active_editor.Hide ();
-				Remove (active_editor);
+				widgets.Remove (active_editor);
 				active_editor = null;
 				current_editor.Restore ();
 				current_editor = null;



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