SF.net SVN: geany:[4135] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Aug 27 14:02:56 UTC 2009


Revision: 4135
          http://geany.svn.sourceforge.net/geany/?rev=4135&view=rev
Author:   ntrel
Date:     2009-08-27 14:02:56 +0000 (Thu, 27 Aug 2009)

Log Message:
-----------
Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/geany.h

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-08-27 13:50:12 UTC (rev 4134)
+++ trunk/ChangeLog	2009-08-27 14:02:56 UTC (rev 4135)
@@ -2,6 +2,8 @@
 
  * src/keybindings.c:
    Fix Make keybindings (patch by Lex Trotman, thanks).
+ * src/geany.h:
+   Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
 
 
 2009-08-27  Lex Trotman  <elextr(at)gmail(dot)com>

Modified: trunk/src/geany.h
===================================================================
--- trunk/src/geany.h	2009-08-27 13:50:12 UTC (rev 4134)
+++ trunk/src/geany.h	2009-08-27 14:02:56 UTC (rev 4135)
@@ -91,4 +91,9 @@
 /* prototype is here so that all files can use it. */
 void geany_debug(gchar const *format, ...) G_GNUC_PRINTF (1, 2);
 
+
+#ifndef G_GNUC_WARN_UNUSED_RESULT
+#define G_GNUC_WARN_UNUSED_RESULT
 #endif
+
+#endif


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