commit 718e851e4890ba8b0b1d809c45901651436cff36
parent 5ff1fb53198496647841f0847e7ce254f3d76df8
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Mon, 17 May 2010 18:26:22 +1000
Fix a crash when no arguments are passed
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/spek-window.vala b/src/spek-window.vala
@@ -28,7 +28,7 @@ namespace Spek {
private FileFilter filter_audio;
private FileFilter filter_png;
- public Window (string file_name) {
+ public Window (string? file_name) {
title = _("Spek - Acoustic Spectrum Analyser");
set_default_icon_name ("spek");
set_default_size (640, 480);