Mercurial > pidgin
diff libgaim/xmlnode.c @ 14324:2d7086454b08
[gaim-migrate @ 17019]
dbus goodness
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Thu, 24 Aug 2006 18:33:53 +0000 |
parents | 950f3ed6baa0 |
children | 289490ee84d1 |
line wrap: on
line diff
--- a/libgaim/xmlnode.c Thu Aug 24 17:37:24 2006 +0000 +++ b/libgaim/xmlnode.c Thu Aug 24 18:33:53 2006 +0000 @@ -35,6 +35,7 @@ #include <string.h> #include <glib.h> +#include "dbus-maybe.h" #include "util.h" #include "xmlnode.h" @@ -52,6 +53,8 @@ node->name = g_strdup(name); node->type = type; + GAIM_DBUS_REGISTER_POINTER(node, xmlnode); + return node; } @@ -218,6 +221,8 @@ #ifdef HAVE_LIBXML g_free(node->namespace); #endif + + GAIM_DBUS_UNREGISTER_POINTER(node); g_free(node); }