dbus/glib dbus-gproxy.c, 1.29, 1.30 dbus-binding-tool-glib.c, 1.12, 1.13

Colin Walters walters at freedesktop.org
Mon Jun 20 17:30:22 PDT 2005


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

Modified Files:
	dbus-gproxy.c dbus-binding-tool-glib.c 
Log Message:
2005-06-20  Colin Walters  <walters at verbum.org>

	* dbus/dbus-glib.h: 
	* glib/dbus-gproxy.c: Rename dbus_g_proxy_invoke to
	dbus_g_proxy_call.

	* glib/dbus-binding-tool-glib.c: 
	* doc/dbus-tutorial.xml: 
	* test/glib/test-dbus-glib.c: Update for rename.


Index: dbus-gproxy.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gproxy.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- dbus-gproxy.c	19 Jun 2005 15:31:25 -0000	1.29
+++ dbus-gproxy.c	21 Jun 2005 00:30:20 -0000	1.30
@@ -1592,9 +1592,11 @@
 }
 
 /**
- * Function for invoking a method and receiving reply values.
- * Normally this is not used directly - calls to it are generated
- * from client-side wrappers (see dbus-binding-tool).
+ * Function for synchronously invoking a method and receiving reply
+ * values.  This function is equivalent to dbus_g_proxy_begin_call
+ * followed by dbus_g_proxy_end_call.  All of the input arguments are
+ * specified first, followed by G_TYPE_INVALID, followed by all of the
+ * output values, followed by G_TYPE_INVALID.
  *
  * @param proxy a proxy for a remote interface
  * @param method method to invoke
@@ -1603,11 +1605,11 @@
  * @returns #FALSE if an error is set, TRUE otherwise
  */
 gboolean
-dbus_g_proxy_invoke (DBusGProxy        *proxy,
-		     const char        *method,
-		     GError           **error,
-		     GType              first_arg_type,
-		     ...)
+dbus_g_proxy_call (DBusGProxy        *proxy,
+		   const char        *method,
+		   GError           **error,
+		   GType              first_arg_type,
+		   ...)
 {
   gboolean ret;
   DBusGPendingCall *pending;

Index: dbus-binding-tool-glib.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-binding-tool-glib.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- dbus-binding-tool-glib.c	17 Jun 2005 14:29:48 -0000	1.12
+++ dbus-binding-tool-glib.c	21 Jun 2005 00:30:20 -0000	1.13
@@ -1333,7 +1333,7 @@
 	  
 	  WRITE_OR_LOSE ("{\n");
 	  
-	  if (!write_printf_to_iochannel ("  return dbus_g_proxy_invoke (proxy, \"%s\", ", channel, error,
+	  if (!write_printf_to_iochannel ("  return dbus_g_proxy_call (proxy, \"%s\", ", channel, error,
 					  method_info_get_name (method)))
 	    goto io_lose;
 



More information about the dbus-commit mailing list