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.willi...@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.endr...@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

_______________________________________________
maemo-commits mailing list
maemo-commits@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-commits

Reply via email to