[maemo-commits] [maemo-commits] r9860 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildonwm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Feb 14 15:31:50 EET 2007
Author: jobi
Date: 2007-02-14 15:31:49 +0200 (Wed, 14 Feb 2007)
New Revision: 9860

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c
Log:

2007-02-13  Johan Bilien  <johan.bilien at nokia.com>

	* libhildondesktop/hd-wm.c: fixed a compilation warning



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-02-14 12:57:00 UTC (rev 9859)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-02-14 13:31:49 UTC (rev 9860)
@@ -1,5 +1,9 @@
 2007-02-13  Johan Bilien  <johan.bilien at nokia.com>
 
+	* libhildondesktop/hd-wm.c: fixed a compilation warning
+
+2007-02-13  Johan Bilien  <johan.bilien at nokia.com>
+
 	* src/hd-notification-manager.c: Fix the build against libhildon1
 
 2007-02-13  Moises Martinez  <moises.martinez at nokia.com>

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c	2007-02-14 12:57:00 UTC (rev 9859)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildonwm/hd-wm.c	2007-02-14 13:31:49 UTC (rev 9860)
@@ -2123,7 +2123,8 @@
   unsigned long n;
   unsigned long extra;
   int           format, status, i;
-  Atom          realType, *value = NULL;
+  Atom          realType;
+  unsigned char *value = NULL;
 
   if (hdwm == NULL)
     hdwm = hd_wm_get_singleton ();
@@ -2139,7 +2140,7 @@
                               hdwm->priv->atoms[HD_ATOM_NET_WM_STATE],
                               0L, 1000000L,
                               0, XA_ATOM, &realType, &format,
-                              &n, &extra, (unsigned char **) &value);
+                              &n, &extra, &value);
 
   if (gdk_error_trap_pop ())
   {


More information about the maemo-commits mailing list