[cheese/three-point-oh: 7/12] Connected 'destroy' signal handler to close app when cheese-window is closed
- From: Yuvaraj Pandian <yuvipanda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese/three-point-oh: 7/12] Connected 'destroy' signal handler to close app when cheese-window is closed
- Date: Thu, 27 May 2010 10:20:10 +0000 (UTC)
commit 4e9483fea8ad22a36207d1d567ee18cb5209d837
Author: Yuvaraj Pandian T <yuvipanda gmail com>
Date: Thu May 27 15:26:57 2010 +0530
Connected 'destroy' signal handler to close app when cheese-window is closed
valasrc/cheese-main.vala | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/valasrc/cheese-main.vala b/valasrc/cheese-main.vala
index dbd7da8..ca76c7e 100644
--- a/valasrc/cheese-main.vala
+++ b/valasrc/cheese-main.vala
@@ -50,6 +50,7 @@ public class Cheese.Main {
CheeseWindow window = new CheeseWindow();
window.setup_ui();
+ window.destroy.connect(Gtk.main_quit);
window.show_all();
Gtk.main ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]