Mercurial > pidgin
changeset 13760:fb177706f6ba
[gaim-migrate @ 16171]
Fixes in 10 minutes or less, or your money back.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 10 May 2006 12:17:21 +0000 |
parents | a849cf259d00 |
children | ec858948d292 |
files | src/log.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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); }