From 9be2705b3214cc7bd6daaf7b498a4df155f2dc46 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Mon, 6 Aug 2012 19:52:44 +0000 Subject: Fixed the compilation on Ubuntu Lucid. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@256 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 6 ++++++ configure.ac | 2 +- src/dialogs/export.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 78e5694..7a6896f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +12-08-06 Cyrille Bagard + + * configure.ac: + * src/dialogs/export.c: + Fix the compilation on Ubuntu Lucid. + 12-08-03 Cyrille Bagard * 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"); -- cgit v0.11.2-87-g4458