Commit 35fcba08 authored by Michael J. Chudobiak's avatar Michael J. Chudobiak

minor simplifications for compatibility with vala 0.13.x

parent 69a5a9b6
......@@ -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();
......
......@@ -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") };
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment