From 3fdacf97624a0bdbe6360c5561a7d7adcfcb8645 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 6 Apr 2009 12:43:16 +0100 Subject: [PATCH] [cogl-handle] Fix the broken debug macros The debug macros for tracking reference counting of CoglHandles had some typos introduced in c3d9f0 which meant it failed to compile when COGL_DEBUG is 1. --- clutter/cogl/common/cogl-handle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clutter/cogl/common/cogl-handle.h b/clutter/cogl/common/cogl-handle.h index 242b187f5..95e85e34e 100644 --- a/clutter/cogl/common/cogl-handle.h +++ b/clutter/cogl/common/cogl-handle.h @@ -59,7 +59,7 @@ typedef struct _CoglHandleObject CoglHandleObject *obj = (CoglHandleObject *)handle; \ printf ("COGL %s REF %p %i\n", \ g_quark_to_string ((obj)->klass->type), \ - (obj), (obj)->ref_count) \ + (obj), (obj)->ref_count); \ } while (0) #define _COGL_HANDLE_DEBUG_UNREF(type_name, handle) \ @@ -67,7 +67,7 @@ typedef struct _CoglHandleObject CoglHandleObject *obj = (CoglHandleObject *)handle; \ printf ("COGL %s UNREF %p %i\n", \ g_quark_to_string ((obj)->klass->type), \ - (obj), (obj)->ref_count - 1) + (obj), (obj)->ref_count - 1); \ } while (0) #define COGL_HANDLE_DEBUG_FREE(obj) \