SF.net SVN: geany: [1757] trunk/src/tools.c

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Jul 28 15:18:02 UTC 2007


Revision: 1757
          http://geany.svn.sourceforge.net/geany/?rev=1757&view=rev
Author:   eht16
Date:     2007-07-28 08:18:01 -0700 (Sat, 28 Jul 2007)

Log Message:
-----------
Fix compiler warnings on Windows

Modified Paths:
--------------
    trunk/src/tools.c

Modified: trunk/src/tools.c
===================================================================
--- trunk/src/tools.c	2007-07-28 14:10:49 UTC (rev 1756)
+++ trunk/src/tools.c	2007-07-28 15:18:01 UTC (rev 1757)
@@ -48,6 +48,7 @@
 #include "msgwindow.h"
 #include "keybindings.h"
 #include "templates.h"
+#include "win32.h"
 
 
 /* custom commands code*/
@@ -609,6 +610,7 @@
 /*
  * color dialog callbacks
  */
+#ifndef G_OS_WIN32
 static void
 on_color_cancel_button_clicked         (GtkButton       *button,
                                         gpointer         user_data)
@@ -635,6 +637,7 @@
 	document_insert_colour(idx, hex);
 	g_free(hex);
 }
+#endif
 
 
 /* This shows the color selection dialog to choose a color. */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list