From d5c558801d6acd2c8fd7131c6c37a0e0f4904ea9 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 18 Apr 2008 14:45:49 +0300 Subject: [PATCH] Add missing ";" and add audio_note_set_basedir() to header file --- src/audio-note.c | 2 +- src/audio-note.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/audio-note.c b/src/audio-note.c index cf4a88b..88140bf 100644 --- a/src/audio-note.c +++ b/src/audio-note.c @@ -218,7 +218,7 @@ void audio_note_set_basedir(audio_note_ui *ui, const gchar *basedir) { if (ui->basedir) - g_free(ui->basedir) + g_free(ui->basedir); ui->basedir=g_strdup(basedir); if (g_mkdir_with_parents(ui->basedir, 0775)==-1) { } diff --git a/src/audio-note.h b/src/audio-note.h index 3d086c3..5c0f013 100644 --- a/src/audio-note.h +++ b/src/audio-note.h @@ -55,6 +55,8 @@ audio_note_ui *audio_note_new(void); gboolean audio_note_init(void); void audio_note_deinit(void); +void audio_note_set_basedir(audio_note_ui *ui, const gchar *basedir); + gboolean audio_note_record(gchar *file); gboolean audio_note_play(gchar *file); -- 2.39.5