gegl r1835 - in trunk: . gegl



Author: hans
Date: Wed Jan  9 21:15:22 2008
New Revision: 1835
URL: http://svn.gnome.org/viewvc/gegl?rev=1835&view=rev

Log:
2007-01-09  Hans Breuer  <hans breuer org>

	* gegl/gegl-init.h : use PACKAGE_NAME rather than undefined PACKAGE for
	g_win32_get_package_installation_subdirectory(). Also don't do an
	explicit inclusion of gwin32.h, it is available by <glib-object.h>



Modified:
   trunk/ChangeLog
   trunk/gegl/gegl-init.c

Modified: trunk/gegl/gegl-init.c
==============================================================================
--- trunk/gegl/gegl-init.c	(original)
+++ trunk/gegl/gegl-init.c	Wed Jan  9 21:15:22 2008
@@ -31,7 +31,6 @@
 #endif
 #ifdef G_OS_WIN32
 #include <process.h>
-#include <gwin32.h> /* g_win32_get_package_installation_directory */
 #endif
 #include <glib/gstdio.h>
 #include "operation/gegl-operation.h"
@@ -232,7 +231,7 @@
       else
         {
 #ifdef G_OS_WIN32
-          module_path = g_win32_get_package_installation_subdirectory (PACKAGE, "lib" GEGL_LIBRARY ".dll", GEGL_LIBRARY);
+          module_path = g_win32_get_package_installation_subdirectory (PACKAGE_NAME, "lib" GEGL_LIBRARY ".dll", GEGL_LIBRARY);
 #else
           module_path = g_strdup (PREFIX "/lib/" GEGL_LIBRARY);
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]