aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.h
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-05-06 04:34:41 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-05-06 04:34:41 +0800
commit1b89f384d5807689c43fee10c029ff76dc14b3f4 (patch)
tree6af706fb1f4f673120981e033768a09169544c11 /libempathy/empathy-utils.h
parent9d71fd93cfbce01cfcaf074f3cf004abef504404 (diff)
downloadgsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.tar
gsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.tar.gz
gsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.tar.bz2
gsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.tar.lz
gsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.tar.xz
gsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.tar.zst
gsoc2013-empathy-1b89f384d5807689c43fee10c029ff76dc14b3f4.zip
Keep a priv pointer in the object struct instead of using G_TYPE_INSTANCE_GET_PRIVATE all the time.
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1082 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy/empathy-utils.h')
-rw-r--r--libempathy/empathy-utils.h1
1 files changed, 1 insertions, 0 deletions
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 {