Revision: 4566 http://geany.svn.sourceforge.net/geany/?rev=4566&view=rev Author: eht16 Date: 2010-01-25 21:16:55 +0000 (Mon, 25 Jan 2010)
Log Message: ----------- Backport from trunk: Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
Modified Paths: -------------- branches/geany-0.18.1/ChangeLog branches/geany-0.18.1/src/geany.h
Modified: branches/geany-0.18.1/ChangeLog =================================================================== --- branches/geany-0.18.1/ChangeLog 2010-01-25 21:16:46 UTC (rev 4565) +++ branches/geany-0.18.1/ChangeLog 2010-01-25 21:16:55 UTC (rev 4566) @@ -1,3 +1,9 @@ +2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/geany.h: + Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10. + + 2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/plugins.dox:
Modified: branches/geany-0.18.1/src/geany.h =================================================================== --- branches/geany-0.18.1/src/geany.h 2010-01-25 21:16:46 UTC (rev 4565) +++ branches/geany-0.18.1/src/geany.h 2010-01-25 21:16:55 UTC (rev 4566) @@ -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.