From: Kaj-Michael Lang Date: Fri, 18 Apr 2008 11:45:49 +0000 (+0300) Subject: Add missing ";" and add audio_note_set_basedir() to header file X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c558801d6acd2c8fd7131c6c37a0e0f4904ea9;p=mapper Add missing ";" and add audio_note_set_basedir() to header file --- 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);