changeset 14352:9c884b84afb9

[gaim-migrate @ 17058] This should give a better accessiblity of xmlnodes over dbus. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 27 Aug 2006 15:24:13 +0000
parents 1bd09d355f9e
children 33dc9f22b528
files libgaim/Makefile.am libgaim/dbus-analyze-functions.py libgaim/dbus-server.c
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/Makefile.am	Sun Aug 27 06:14:12 2006 +0000
+++ b/libgaim/Makefile.am	Sun Aug 27 15:24:13 2006 +0000
@@ -175,7 +175,7 @@
 dbus_sources  = dbus-server.c dbus-useful.c
 dbus_headers  = dbus-bindings.h dbus-gaim.h dbus-server.h dbus-useful.h dbus-define-api.h
 
-dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h buddyicon.h connection.h conversation.h core.h log.h roomlist.h savedstatuses.h status.h server.h
+dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h buddyicon.h connection.h conversation.h core.h log.h roomlist.h savedstatuses.h status.h server.h xmlnode.h
 
 gaim_build_coreheaders = $(addprefix $(srcdir)/, $(gaim_coreheaders))
 dbus_build_exported = $(addprefix $(srcdir)/, $(dbus_exported))
--- a/libgaim/dbus-analyze-functions.py	Sun Aug 27 06:14:12 2006 +0000
+++ b/libgaim/dbus-analyze-functions.py	Sun Aug 27 15:24:13 2006 +0000
@@ -117,7 +117,7 @@
                 return self.inputhash(type, name)
                 
             # known object types are transformed to integer handles
-            elif type[0].startswith("Gaim"):
+            elif type[0].startswith("Gaim") or type[0] == "xmlnode":
                 return self.inputgaimstructure(type, name)
 
             # unknown pointers are always replaced with NULL
--- a/libgaim/dbus-server.c	Sun Aug 27 06:14:12 2006 +0000
+++ b/libgaim/dbus-server.c	Sun Aug 27 15:24:13 2006 +0000
@@ -39,6 +39,7 @@
 #include "internal.h"
 #include "savedstatuses.h"
 #include "value.h"
+#include "xmlnode.h"
 
 
 /**************************************************************************/