aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw27@cam.ac.uk>2008-10-02 18:28:42 +0100
committerThomas White <taw27@cam.ac.uk>2008-10-02 18:28:42 +0100
commit4d7d1daf17f61dd332510af448de181084b24f3b (patch)
treea5bcde107ce68d539ea7e9ad4f37bfd14b11fb75
parent7087e28879c6f9eecac121929087acbca771d427 (diff)
parentb5ae83c814640ab5659103f8cdb6d080d70fada6 (diff)
Merge branch 'master' into simple-search
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 1f14e72..7bc4ab4 100644
--- a/src/main.c
+++ b/src/main.c
@@ -131,8 +131,7 @@ static gint main_method_window_response(GtkWidget *method_window, gint response,
if ( ctx->psmode == PEAKSEARCH_CACHED ) {
ctx->cache_filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(ctx->cache_file_selector));
if ( !ctx->cache_filename ) {
- fprintf(stderr, "Please specify a cache filename!\n");
- gtk_exit(1);
+ return 1;
}
}