gedit r6722 - branches/win32/gedit
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6722 - branches/win32/gedit
- Date: Thu, 25 Dec 2008 16:32:59 +0000 (UTC)
Author: icq
Date: Thu Dec 25 16:32:58 2008
New Revision: 6722
URL: http://svn.gnome.org/viewvc/gedit?rev=6722&view=rev
Log:
Fix window.h include.
Modified:
branches/win32/gedit/gedit.c
Modified: branches/win32/gedit/gedit.c
==============================================================================
--- branches/win32/gedit/gedit.c (original)
+++ branches/win32/gedit/gedit.c Thu Dec 25 16:32:58 2008
@@ -61,7 +61,11 @@
#include "eggdesktopfile.h"
#ifdef G_OS_WIN32
+#define SAVE_DATADIR DATADIR
+#undef DATADIR
#include <windows.h>
+#define DATADIR SAVE_DATADIR
+#undef SAVE_DATADIR
#endif
static guint32 startup_timestamp = 0;
@@ -488,7 +492,7 @@
path = g_build_path (";",
exe_folder_utf8,
- g_getenv ("PATH");
+ g_getenv ("PATH"),
NULL);
if (!g_setenv ("PATH", path, TRUE))
g_warning ("Could not set PATH for gedit");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]