]> err.no Git - mapper/commitdiff
Add missing ";" and add audio_note_set_basedir() to header file
authorKaj-Michael Lang <milang@tal.org>
Fri, 18 Apr 2008 11:45:49 +0000 (14:45 +0300)
committerKaj-Michael Lang <milang@tal.org>
Fri, 18 Apr 2008 11:45:49 +0000 (14:45 +0300)
src/audio-note.c
src/audio-note.h

index cf4a88bb1cd5c09bc9c5f984ef48527cc810a6ca..88140bfd96971bbc19d091213fbdf192f996ab76 100644 (file)
@@ -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) {
 }
index 3d086c31b67f2dc59cf590a76f421cc65b0a6a54..5c0f0135c64d3cc9dd94f1bda674e7d3f96168ca 100644 (file)
@@ -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);