gedit r6402 - in trunk: . gedit
- From: pborelli svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6402 - in trunk: . gedit
- Date: Wed, 13 Aug 2008 16:48:37 +0000 (UTC)
Author: pborelli
Date: Wed Aug 13 16:48:37 2008
New Revision: 6402
URL: http://svn.gnome.org/viewvc/gedit?rev=6402&view=rev
Log:
2008-08-13 Paolo Borelli <pborelli katamail com>
* gedit/gedit-local-document-saver.c:
* gedit/gedit-gio-document-saver.c:
* gedit/gedit-mmap-document-loader.c:
Fix more warnings
Modified:
trunk/ChangeLog
trunk/gedit/gedit-gio-document-saver.c
trunk/gedit/gedit-local-document-saver.c
trunk/gedit/gedit-mmap-document-loader.c
Modified: trunk/gedit/gedit-gio-document-saver.c
==============================================================================
--- trunk/gedit/gedit-gio-document-saver.c (original)
+++ trunk/gedit/gedit-gio-document-saver.c Wed Aug 13 16:48:37 2008
@@ -346,6 +346,8 @@
error->code,
error->message);
g_error_free (error);
+
+ next_callback = (GAsyncReadyCallback) close_async_ready_cb;
}
}
else
Modified: trunk/gedit/gedit-local-document-saver.c
==============================================================================
--- trunk/gedit/gedit-local-document-saver.c (original)
+++ trunk/gedit/gedit-local-document-saver.c Wed Aug 13 16:48:37 2008
@@ -37,6 +37,7 @@
#include <fcntl.h>
#include <string.h>
#include <errno.h>
+#include <unistd.h>
#include <glib/gi18n.h>
#include <glib/gfileutils.h>
Modified: trunk/gedit/gedit-mmap-document-loader.c
==============================================================================
--- trunk/gedit/gedit-mmap-document-loader.c (original)
+++ trunk/gedit/gedit-mmap-document-loader.c Wed Aug 13 16:48:37 2008
@@ -199,7 +199,7 @@
else
{
gchar *mapped_file;
- const gchar *content_type;
+ gchar *content_type;
struct sigaction sigbusact;
/* CHECK: should we lock the file */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]