mirror of
https://github.com/brl/mutter.git
synced 2025-06-22 04:59:55 +00:00
object: use GLib's DestroyNotify if compiled with GLib
Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:

committed by
Robert Bragg

parent
a34f4f46b6
commit
b53de33521
@ -103,7 +103,11 @@ typedef struct {
|
||||
*
|
||||
* Since: 1.4
|
||||
*/
|
||||
#ifdef COGL_HAS_GTYPE_SUPPORT
|
||||
typedef GDestroyNotify CoglUserDataDestroyCallback;
|
||||
#else
|
||||
typedef void (*CoglUserDataDestroyCallback) (void *user_data);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* CoglDebugObjectTypeInfo:
|
||||
|
Reference in New Issue
Block a user