[maemo-commits] [maemo-commits] r18006 - projects/haf/trunk/libmatchbox2/matchbox/core

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Apr 3 15:53:08 EEST 2009
Author: kihamala
Date: 2009-04-03 15:53:07 +0300 (Fri, 03 Apr 2009)
New Revision: 18006

Modified:
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c
Log:
fix crash at startup


Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c	2009-04-03 12:30:26 UTC (rev 18005)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c	2009-04-03 12:53:07 UTC (rev 18006)
@@ -456,10 +456,10 @@
 	}
       else
 	{
-	  if (win->net_type != result_atom[0])
+	  if (win->net_type != ((Atom *)result_atom)[0])
 	    changes |= MBWM_WINDOW_PROP_WIN_TYPE;
 
-	  win->net_type = result_atom[0];
+	  win->net_type = ((Atom*)result_atom)[0];
 	}
 
       if (result_atom)


More information about the maemo-commits mailing list