[ease] [editor] Fix segfault when changing background image



commit e765e2043b81d4e53c911a7a2813f03b75a839d2
Author: Nate Stedman <natesm gmail com>
Date:   Sun Aug 8 21:04:38 2010 -0400

    [editor] Fix segfault when changing background image

 ease-core/ease-background-widget.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ease-core/ease-background-widget.vala b/ease-core/ease-background-widget.vala
index 472fb90..c7ed03f 100644
--- a/ease-core/ease-background-widget.vala
+++ b/ease-core/ease-background-widget.vala
@@ -347,8 +347,8 @@ public class Ease.BackgroundWidget : Gtk.Alignment
 	[CCode (instance_pos = -1)]
 	internal void on_file_set(Gtk.FileChooserButton? sender)
 	{
-		var action = new UndoAction(background, "image");
-		action.add(background, "image-source");
+		var action = new UndoAction(background.image, "filename");
+		action.add(background.image, "source");
 		
 		// slide might change in the meantime
 				



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