[ardour-dev] [PATCH] libs/gtkmmext/newsavedialog.cc
Karsten Wiese
annabellesgarden at yahoo.de
Sat Jan 15 05:40:28 PST 2005
the first hunk is necessary to let it compile here on fc3,
the 2nd/3rd fix an unimportant(?) buglet.
<snip>
+++ libs/gtkmmext/newsavedialog.cc 2005-01-15 14:04:27.000000000 +0100
@@ -2,6 +2,7 @@
#include <dirent.h>
#include <unistd.h>
#include <sys/stat.h>
+#include <errno.h>
#include <algorithm>
#include <gtk--/separator.h>
@@ -287,7 +288,6 @@
void
NewSaveDialog::refill_dir_list (CList& clist, Widget& parent)
{
- int row;
DIR *dir;
struct dirent *dentry;
const char *path;
@@ -346,7 +346,7 @@
const gchar *rowdata[1];
rowdata[0] = PBD::basename ((*i).c_str());
- clist.append_row (rowdata);
+ int row = clist.append_row (rowdata);
clist.set_row_data_full (row, strdup ((*i).c_str()), free);
}
</snip>
More information about the Ardour-Dev
mailing list