[moserial] minor simplifications for compatibility with vala 0.13.x



commit 35fcba084e9281996751542fe78485d27dc3e651
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date:   Mon Aug 29 13:10:51 2011 -0400

    minor simplifications for compatibility with vala 0.13.x

 src/MainWindow.vala           |    2 +-
 src/SerialStreamRecorder.vala |    2 +-
 src/SettingsDialog.vala       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/MainWindow.vala b/src/MainWindow.vala
index 98ea0d1..257c680 100644
--- a/src/MainWindow.vala
+++ b/src/MainWindow.vala
@@ -773,7 +773,7 @@ public class moserial.MainWindow : Gtk.Window //Have to extend Gtk.Winow to get
                 quitSave();
         }
 
-        private bool deleteSaveSize(Widget widget, Event event) {
+        private bool deleteSaveSize() {
                 windowSizeSave();
                 quitSave();
                 Gtk.main_quit();
diff --git a/src/SerialStreamRecorder.vala b/src/SerialStreamRecorder.vala
index efdfd54..e1b2233 100644
--- a/src/SerialStreamRecorder.vala
+++ b/src/SerialStreamRecorder.vala
@@ -25,7 +25,7 @@ public class moserial.SerialStreamRecorder {
 	private bool isOpen=false;
 	private FileOutputStream? fos;
 
-	public static enum Direction { INCOMING, OUTGOING, BOTH }
+	public enum Direction { INCOMING, OUTGOING, BOTH }
 	public const string[] DirectionStrings = { GLib.N_("Incoming"),
                                                    GLib.N_("Outgoing"),
                                                    GLib.N_("Incoming and Outgoing") };
diff --git a/src/SettingsDialog.vala b/src/SettingsDialog.vala
index 6cce4fb..bb212a5 100644
--- a/src/SettingsDialog.vala
+++ b/src/SettingsDialog.vala
@@ -179,7 +179,7 @@ public class moserial.SettingsDialog : GLib.Object
                 	localEcho.set_active(false);
         }
 
-        public bool hide (Gtk.Widget w, Gdk.Event event) {
+        public bool hide () {
                 dialog.hide ();
                 return true;
         }



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