fix deref

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9465 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2003-10-11 21:02:58 +00:00
parent 846d3e4421
commit 9684e829e9

View File

@ -12,8 +12,9 @@
#include "kvp_frame.h"
/* --- type macros --- */
/* cheesy, but will do for now, eventually should be more gtk-like */
#define QOF_INSTANCE(object) (&((object)->inst))
/* cheesy, but will do for now, eventually should be more gtk-like, handle
* thunks, etc. */
#define QOF_INSTANCE(object) ((QofInstance *)(object))
typedef struct QofInstance_s QofInstance;