summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
-rw-r--r--src/dialogs/export.c2
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 <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");