changeset 25839:54a1c63873b2

Do the struct hiding differently.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 26 Nov 2008 00:40:27 +0000
parents c039a6e448d7
children 10e1f3c1d0db
files finch/gntrequest.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntrequest.c	Wed Nov 26 00:38:38 2008 +0000
+++ b/finch/gntrequest.c	Wed Nov 26 00:40:27 2008 +0000
@@ -39,6 +39,12 @@
 #include "debug.h"
 #include "util.h"
 
+/* XXX: Until gobjectification ... */
+#undef FINCH_GET_DATA
+#undef FINCH_SET_DATA
+#define FINCH_GET_DATA(obj)  purple_request_field_get_ui_data(obj)
+#define FINCH_SET_DATA(obj, data)  purple_request_field_set_ui_data(obj, data)
+
 typedef struct
 {
 	void *user_data;