[maemo-commits] [maemo-commits] r17538 - in projects/haf/trunk/sapwood: . tests

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 27 17:16:51 EET 2009
Author: herzi
Date: 2009-02-27 17:16:47 +0200 (Fri, 27 Feb 2009)
New Revision: 17538

Modified:
   projects/haf/trunk/sapwood/ChangeLog
   projects/haf/trunk/sapwood/tests/double-free.c
Log:
2009-01-08  Sven Herzberg  <sven at imendio.com>

	Compile against a vanilla GTK+

	* tests/double-free.c: GTK+ 2.14 doesn't allow including
	<gtk/gtktestutils.h>; Maemo-GTK doesn't include it in <gtk/gtk.h>; so
	we need this version check here



Modified: projects/haf/trunk/sapwood/ChangeLog
===================================================================
--- projects/haf/trunk/sapwood/ChangeLog	2009-02-27 15:02:55 UTC (rev 17537)
+++ projects/haf/trunk/sapwood/ChangeLog	2009-02-27 15:16:47 UTC (rev 17538)
@@ -1,5 +1,13 @@
 2009-01-08  Sven Herzberg  <sven at imendio.com>
 
+	Compile against a vanilla GTK+
+
+	* tests/double-free.c: GTK+ 2.14 doesn't allow including
+	<gtk/gtktestutils.h>; Maemo-GTK doesn't include it in <gtk/gtk.h>; so
+	we need this version check here
+
+2009-01-08  Sven Herzberg  <sven at imendio.com>
+
 	Updated to the refactored paths.
 
 	* demos/run-demo: replaced src by engine, as this is where the engine

Modified: projects/haf/trunk/sapwood/tests/double-free.c
===================================================================
--- projects/haf/trunk/sapwood/tests/double-free.c	2009-02-27 15:02:55 UTC (rev 17537)
+++ projects/haf/trunk/sapwood/tests/double-free.c	2009-02-27 15:16:47 UTC (rev 17538)
@@ -31,7 +31,10 @@
 #include <sys/un.h>
 #include <unistd.h>
 #include <gio/gio.h>
+#include <gtk/gtk.h>
+#if ! GTK_CHECK_VERSION (2,14,0)
 #include <gtk/gtktestutils.h>
+#endif
 #include "sapwood-pixmap-priv.h"
 #include "sapwood-proto.h"
 


More information about the maemo-commits mailing list