2008-06-26 Matthew Allum <mallum@openedhand.com>
authorMatthew Allum <mallum@openedhand.com>
Thu, 26 Jun 2008 09:35:31 +0000 (09:35 +0000)
committerMatthew Allum <mallum@openedhand.com>
Thu, 26 Jun 2008 09:35:31 +0000 (09:35 +0000)
        * tests/test-pixmap.c: (main):
        Use strtol on arg as to take hex values. Tweak from James Ketrenos

ChangeLog
tests/test-pixmap.c

index a2c7aa9..526fec5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-26  Matthew Allum  <mallum@openedhand.com>
+
+       * tests/test-pixmap.c: (main):
+        Use strtol on arg as to take hex values. Tweak from James Ketrenos
+
 2008-06-25  Emmanuele Bassi  <ebassi@openedhand.com>
 
        * configure.ac: Post release bump to 0.7.5.
index f547a1a..d894f6a 100644 (file)
@@ -156,7 +156,7 @@ main (int argc, char **argv)
   if (argc < 2)
     g_error ("usage: %s <window id>", argv[0]);
 
-  win_remote = atol(argv[1]);
+  win_remote = strtol(argv[1], NULL, 0);
 
   stage = clutter_stage_get_default ();
   clutter_stage_set_color (CLUTTER_STAGE (stage), &gry);