[maemo-commits] [maemo-commits] r19425 - in projects/haf/trunk/libmatchbox2: . matchbox/core

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Oct 8 12:22:55 EEST 2009
Author: gw
Date: 2009-10-08 12:22:51 +0300 (Thu, 08 Oct 2009)
New Revision: 19425

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.h
Log:
	* matchbox/core/mb-window-manager.h: Just added some extra comments to
	  make it obvious that matchbox signals can't be sequentially numbered.


Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-10-07 12:09:31 UTC (rev 19424)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-10-08 09:22:51 UTC (rev 19425)
@@ -1,3 +1,8 @@
+2009-10-08  Gordon Williams <gordon.williams at collabora.co.uk>
+
+	* matchbox/core/mb-window-manager.h: Just added some extra comments to
+	  make it obvious that matchbox signals can't be sequentially numbered.
+
 2009-10-02  Adam Endrodi  <adam.endrodi at blumsoft.eu>
 
 	NB#141614 Unnecessary rotations on image viewer if phone application

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.h
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.h	2009-10-07 12:09:31 UTC (rev 19424)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.h	2009-10-08 09:22:51 UTC (rev 19425)
@@ -64,10 +64,11 @@
   MBWindowManagerFlagLayoutRotated     = (1<<2),
 } MBWindowManagerFlag;
 
+/* signals must be 2^n, as multiple signals can be sent from one call */
 typedef enum
 {
-  MBWindowManagerSignalThemeChange = 1,
-  MBWindowManagerSignalPortraitForecast,
+  MBWindowManagerSignalThemeChange        = (1<<0),
+  MBWindowManagerSignalPortraitForecast   = (1<<1),
 } MBWindowManagerSignal;
 
 typedef enum

More information about the maemo-commits mailing list