[ease] Corrects quit signal.
- From: Stéphane Maniaci <maniacis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] Corrects quit signal.
- Date: Sat, 10 Jul 2010 03:24:23 +0000 (UTC)
commit 1d74c8cfed056fb0eb46f1852d3e2174e49ac26d
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date: Fri Jul 9 18:19:35 2010 -0500
Corrects quit signal.
src/ease-editor-window.vala | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/src/ease-editor-window.vala b/src/ease-editor-window.vala
index 77cf82c..0289d12 100644
--- a/src/ease-editor-window.vala
+++ b/src/ease-editor-window.vala
@@ -185,11 +185,6 @@ public class Ease.EditorWindow : Gtk.Window
update_undo();
}
- [CCode (instance_pos = -1)]
- public void on_quit ()
- {
- Gtk.main_quit ();
- }
/**
* Load a slide into the main { link EditorEmbed}.
*
@@ -234,6 +229,12 @@ public class Ease.EditorWindow : Gtk.Window
// signal handlers
[CCode (instance_pos = -1)]
+ public void on_quit(Gtk.Widget sender)
+ {
+ Gtk.main_quit ();
+ }
+
+ [CCode (instance_pos = -1)]
public void new_slide_handler(Gtk.Widget? sender)
{
var master = document.theme.slide_by_title(slide.title);
@@ -246,7 +247,7 @@ public class Ease.EditorWindow : Gtk.Window
document.add_slide(index, slide);
slide_button_panel.add_slide(index, slide);
- }
+ }
[CCode (instance_pos = -1)]
public void play_handler(Gtk.Widget sender)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]