Function declares a pointer return, so return one.
authorBryce Harrington <bryce@canonical.com>
Fri, 19 Nov 2010 20:14:39 +0000 (12:14 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 22 Nov 2010 15:49:07 +0000 (10:49 -0500)
commit156d057e567f6ea27b0e9771c5b2ecf80f09ce7e
treed2769355a7c311017f1df477654b1b215af13c69
parent515f63ad72a8ea8f3435a5982dd24209835a2af1
Function declares a pointer return, so return one.

These two functions are just wrappers around display_create_*_surface
but weren't forwarding along the result of those calls as is implied by
their return value type.

This fixes a compile-time warning.

Signed-off-by: Bryce Harrington <bryce@canonical.com>
clients/window.c