diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-08-06 19:52:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-08-06 19:52:44 (GMT) |
commit | 9be2705b3214cc7bd6daaf7b498a4df155f2dc46 (patch) | |
tree | 5ecd364cce79d7e4b3aa74d690bef7a0891e94a7 | |
parent | b7c83221f2a60be8ee5d44a7599dbe6869af005f (diff) |
Fixed the compilation on Ubuntu Lucid.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@256 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/dialogs/export.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +12-08-06 Cyrille Bagard <nocbos@gmail.com> + + * configure.ac: + * src/dialogs/export.c: + Fix the compilation on Ubuntu Lucid. + 12-08-03 Cyrille Bagard <nocbos@gmail.com> * configure.ac: diff --git a/configure.ac b/configure.ac index c6dc2f8..0ca98f8 100644 --- a/configure.ac +++ b/configure.ac @@ -197,7 +197,7 @@ AC_SUBST(LIBPYTHON_LIBS) #--- Checks for pygobject-2.0 -PKG_CHECK_MODULES(LIBPYGOBJECT,pygobject-2.0 >= 2.21.3,[libpygobject_found=yes],[libpygobject_found=no]) +PKG_CHECK_MODULES(LIBPYGOBJECT,pygobject-2.0 >= 2.21.1,[libpygobject_found=yes],[libpygobject_found=no]) if test "$libpygobject_found" = "yes"; then libpygobject_version=`pkg-config pygobject-2.0 --modversion` diff --git a/src/dialogs/export.c b/src/dialogs/export.c index c485fd7..e514511 100644 --- a/src/dialogs/export.c +++ b/src/dialogs/export.c @@ -178,7 +178,7 @@ static void export_assistant_close(GtkAssistant *assistant, GObject *ref) entry = GTK_ENTRY(g_object_get_data(ref, "filename")); filename = gtk_entry_get_text(entry); - fd = open(filename, O_CREAT | O_WRONLY); + fd = open(filename, O_CREAT | O_WRONLY, S_IRUSR | S_IWUSR); if (fd == -1) { perror("open"); |