gimp r26125 - in trunk: . app/gui



Author: tml
Date: Fri Jul 11 12:40:41 2008
New Revision: 26125
URL: http://svn.gnome.org/viewvc/gimp?rev=26125&view=rev

Log:
2008-07-11  Tor Lillqvist  <tml novell com>

	* app/gui/gui-unique.c: Include <windows.h> on Windows.
	(gui_unique_win32_init): Drop unused variable.



Modified:
   trunk/ChangeLog
   trunk/app/gui/gui-unique.c

Modified: trunk/app/gui/gui-unique.c
==============================================================================
--- trunk/app/gui/gui-unique.c	(original)
+++ trunk/app/gui/gui-unique.c	Fri Jul 11 12:40:41 2008
@@ -20,6 +20,10 @@
 
 #include <glib-object.h>
 
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
+
 #if HAVE_DBUS_GLIB
 #define DBUS_API_SUBJECT_TO_CHANGE
 #include <dbus/dbus-glib.h>
@@ -143,7 +147,6 @@
 gui_unique_win32_init (Gimp *gimp)
 {
   WNDCLASSW wc;
-  HWND      window_handle;
 
   g_return_if_fail (GIMP_IS_GIMP (gimp));
   g_return_if_fail (unique_gimp == NULL);



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