From 1557095113a3c0f5baadcfb1e953d73762e5263e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 5 May 2008 20:34:41 +0000 Subject: Keep a priv pointer in the object struct instead of using G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082 --- libempathy/empathy-utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy/empathy-utils.h') diff --git a/libempathy/empathy-utils.h b/libempathy/empathy-utils.h index 6aab7cf00..800f09d05 100644 --- a/libempathy/empathy-utils.h +++ b/libempathy/empathy-utils.h @@ -39,6 +39,7 @@ G_BEGIN_DECLS +#define EMPATHY_GET_PRIV(obj,type) ((type##Priv*) ((type*)obj)->priv) #define G_STR_EMPTY(x) ((x) == NULL || (x)[0] == '\0') typedef enum { -- cgit v1.2.3