[cheese/three-point-oh] Fixed bug causing app to crash if About dialog is opened twice



commit 80eefa659987e53515e49cb3347f30ca45cda177
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date:   Wed Jul 14 03:52:52 2010 +0530

    Fixed bug causing app to crash if About dialog is opened twice

 src/cheese-window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index d2f16a5..a14390a 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -286,7 +286,7 @@ public class Cheese.MainWindow : Gtk.Window
     about_dialog         = (Gtk.AboutDialog)gtk_builder.get_object ("aboutdialog");
     about_dialog.version = Config.VERSION;
     about_dialog.run ();
-	about_dialog.destroy ();
+    about_dialog.hide ();
   }
 
   [CCode (instance_pos = -1)]



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