cogl: avoid ‘_cogl_xyz_handle_new’ defined but not used warnings
authorRobert Bragg <robert@linux.intel.com>
Tue, 1 Jun 2010 10:50:02 +0000 (11:50 +0100)
committerRobert Bragg <robert@linux.intel.com>
Tue, 1 Jun 2010 11:20:58 +0000 (12:20 +0100)
commit250d82cd3fdf4cfa2b8cc5ad93cc4577a1daa2e3
tree8a6239693e46eb47ea338af1a7ec675e7ae55e9e
parent43564f05a6cc76995ff540b6cb24badd4f1d1710
cogl: avoid ‘_cogl_xyz_handle_new’ defined but not used warnings

This patch makes it so that only the backwards compatibility
COGL_HANDLE_DEFINE macro defines a _cogl_xyz_handle_new function. The
new COGL_OBJECT_DEFINE macro only defines a _cogl_xyz_object_new
function.
clutter/cogl/cogl/cogl-object.h