dbus/test/glib test-service-glib.c,1.26,1.27

John Palmieri johnp at freedesktop.org
Mon Oct 17 21:38:07 PDT 2005


Update of /cvs/dbus/dbus/test/glib
In directory gabe:/tmp/cvs-serv18899/test/glib

Modified Files:
	test-service-glib.c 
Log Message:
* glib/dbus-gvalue-utils.c (hash_free_from_gtype): handle gdouble
and G_TYPE_VALUE_ARRAY (DBUS_TYPE_STRUCT)
(gvalue_from_hash_value, hash_value_from_gvalue): handle gdouble

* glib/dbus-gvalue.c (dbus_gvalue_to_signature): add missing
DBUS_STRUCT_BEGIN_CHAR and DBUS_STRUCT_END_CHAR charaters
when constructing struct signatures

* python/_dbus.py (Bus): handle private connections using the
private keyword in the constructor. defaults to private=False
(Bus::close): new method to close a connection to the bus

* python/dbus_bindings.pyx (Connection::close): renamed method
was previously called disconnect
(bus_get): now supports getting a private connection

* python/proxies.py (ProxyMethod::__call__): check if ignore_reply
keyword is set to True.  if it is, execute the method without waiting
for a reply
(ProxyObject::_introspect_execute_queue): new method for executing
all the pending methods that were waiting for the introspect to
finish.  this is called when introspect either succeeds or fails
(ProxyObject::_introspect_error_handler): call queued methods



Index: test-service-glib.c
===================================================================
RCS file: /cvs/dbus/dbus/test/glib/test-service-glib.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- test-service-glib.c	5 Oct 2005 20:43:46 -0000	1.26
+++ test-service-glib.c	18 Oct 2005 04:38:05 -0000	1.27
@@ -670,7 +670,9 @@
 gboolean
 my_object_echo_variant (MyObject *obj, GValue *variant, GValue *ret, GError **error)
 {
-    g_value_init (ret, G_VALUE_TYPE(variant));
+    GType t;
+    t = G_VALUE_TYPE(variant);
+    g_value_init (ret, t);
     g_value_copy (variant, ret);
 
     return TRUE;



More information about the dbus-commit mailing list