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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Feb 16 15:57:34 EET 2009
Author: tthurman
Date: 2009-02-16 15:57:33 +0200 (Mon, 16 Feb 2009)
New Revision: 17436

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c
Log:
        * matchbox/core/mb-wm-client-window.c: initialise cookies
        so the compiler won't complain about it



Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-02-16 12:35:50 UTC (rev 17435)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-02-16 13:57:33 UTC (rev 17436)
@@ -1,3 +1,8 @@
+2009-02-16  Thomas Thurman  <thomas.thurman at collabora.co.uk>
+
+	* matchbox/core/mb-wm-client-window.c: initialise cookies
+        so the compiler won't complain about it
+
 2009-02-13  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
 
 	* matchbox/client-types/mb-wm-client-dialog.c

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c	2009-02-16 12:35:50 UTC (rev 17435)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c	2009-02-16 13:57:33 UTC (rev 17436)
@@ -202,7 +202,7 @@
 mb_wm_client_window_sync_properties ( MBWMClientWindow *win,
 				     unsigned long     props_req)
 {
-  MBWMCookie       cookies[N_COOKIES];
+  MBWMCookie       cookies[N_COOKIES] = {0};
   MBWindowManager *wm = win->wm;
   Atom             actual_type_return, *result_atom = NULL;
   int              actual_format_return;


More information about the maemo-commits mailing list