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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 29 19:20:09 EEST 2008
Author: herzi
Date: 2008-09-29 19:19:58 +0300 (Mon, 29 Sep 2008)
New Revision: 16282

Modified:
   projects/haf/trunk/sapwood/ChangeLog
   projects/haf/trunk/sapwood/engine/sapwood-client.h
   projects/haf/trunk/sapwood/engine/sapwood-pixmap.h
   projects/haf/trunk/sapwood/tests/double-free.c
Log:
2008-09-29  Sven Herzberg  <sven at imendio.com>

	Moved the error enumeration into the shared header

	* engine/sapwood-client.h,
	* engine/sapwood-pixmap.h: moved the enumeration
	* tests/double-free.c: dropped the #define replacement for the
	enumeration


Modified: projects/haf/trunk/sapwood/ChangeLog
===================================================================
--- projects/haf/trunk/sapwood/ChangeLog	2008-09-29 16:19:45 UTC (rev 16281)
+++ projects/haf/trunk/sapwood/ChangeLog	2008-09-29 16:19:58 UTC (rev 16282)
@@ -1,5 +1,14 @@
 2008-09-29  Sven Herzberg  <sven at imendio.com>
 
+	Moved the error enumeration into the shared header
+
+	* engine/sapwood-client.h,
+	* engine/sapwood-pixmap.h: moved the enumeration
+	* tests/double-free.c: dropped the #define replacement for the
+	enumeration
+
+2008-09-29  Sven Herzberg  <sven at imendio.com>
+
 	Renamed the error quark to match the file and library name
 
 	* engine/sapwood-client.c,

Modified: projects/haf/trunk/sapwood/engine/sapwood-client.h
===================================================================
--- projects/haf/trunk/sapwood/engine/sapwood-client.h	2008-09-29 16:19:45 UTC (rev 16281)
+++ projects/haf/trunk/sapwood/engine/sapwood-client.h	2008-09-29 16:19:58 UTC (rev 16282)
@@ -28,6 +28,10 @@
 
 G_BEGIN_DECLS
 
+enum {
+    SAPWOOD_PIXMAP_ERROR_FAILED
+};
+
 #define SAPWOOD_CLIENT_ERROR  (sapwood_client_get_error_quark ())
 
 G_GNUC_INTERNAL GQuark sapwood_client_get_error_quark (void);

Modified: projects/haf/trunk/sapwood/engine/sapwood-pixmap.h
===================================================================
--- projects/haf/trunk/sapwood/engine/sapwood-pixmap.h	2008-09-29 16:19:45 UTC (rev 16281)
+++ projects/haf/trunk/sapwood/engine/sapwood-pixmap.h	2008-09-29 16:19:58 UTC (rev 16282)
@@ -27,10 +27,6 @@
 
 G_BEGIN_DECLS
 
-enum {
-    SAPWOOD_PIXMAP_ERROR_FAILED
-};
-
 /* opaque */
 typedef struct _SapwoodPixmap SapwoodPixmap;
 

Modified: projects/haf/trunk/sapwood/tests/double-free.c
===================================================================
--- projects/haf/trunk/sapwood/tests/double-free.c	2008-09-29 16:19:45 UTC (rev 16281)
+++ projects/haf/trunk/sapwood/tests/double-free.c	2008-09-29 16:19:58 UTC (rev 16282)
@@ -35,7 +35,6 @@
 #include "sapwood-pixmap-priv.h"
 #include "sapwood-proto.h"
 
-#define SAPWOOD_PIXMAP_ERROR_FAILED 0
 #define SAPWOOD_SERVER "sapwood-server"
 
 /* FIXME: refactor this out into a libproto-client.la library for the engine


More information about the maemo-commits mailing list