--- a/src/log.c Wed May 10 02:35:09 2006 +0000 +++ b/src/log.c Wed May 10 12:17:21 2006 +0000 @@ -24,6 +24,7 @@ */ #include "account.h" +#include "dbus-maybe.h" #include "debug.h" #include "internal.h" #include "log.h" @@ -80,6 +81,7 @@ /* IMPORTANT: Make sure to initialize all the members of GaimLog */ log = g_slice_new(GaimLog); + GAIM_DBUS_REGISTER_POINTER(log, GaimLog); log->type = type; log->name = g_strdup(gaim_normalize(account, name)); @@ -133,6 +135,7 @@ g_slice_free(struct tm, log->tm); } + GAIM_DBUS_UNREGISTER_POINTER(log); g_slice_free(GaimLog, log); }