Fix issue 332, thanks to Kanobe's patch.
Fix issue 332, thanks to Kanobe's patch.

ericmckean/google-gadgets-for-linux,GoogleCodeArchive/google-gadgets-for-linux,ericmckean/google-gadgets-for-linux,pombreda/google-gadgets-for-linux,pombreda/google-gadgets-for-linux,ericmckean/google-gadgets-for-linux,GoogleCodeArchive/google-gadgets-for-linux,GoogleCodeArchive/google-gadgets-for-linux,pombreda/google-gadgets-for-linux,GoogleCodeArchive/google-gadgets-for-linux,ericmckean/google-gadgets-for-linux,pombreda/google-gadgets-for-linux