[vala] D-Bus: Fix typo in DBusConnection.get_proxy support for GDBus clients



commit 07b8659e4c15810c1a06f4d83a1ea01b4db43e63
Author: Jürg Billeter <j bitron ch>
Date:   Sun Oct 31 13:46:13 2010 +0100

    D-Bus: Fix typo in DBusConnection.get_proxy support for GDBus clients

 codegen/valagdbusclientmodule.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagdbusclientmodule.vala b/codegen/valagdbusclientmodule.vala
index 6eab6ae..c69f212 100644
--- a/codegen/valagdbusclientmodule.vala
+++ b/codegen/valagdbusclientmodule.vala
@@ -208,7 +208,7 @@ public class Vala.GDBusClientModule : GDBusModule {
 		var mtype = expr.call.value_type as MethodType;
 		bool bus_get_proxy_async = (mtype != null && mtype.method_symbol.get_cname () == "g_bus_get_proxy");
 		bool bus_get_proxy_sync = (mtype != null && mtype.method_symbol.get_cname () == "g_bus_get_proxy_sync");
-		bool conn_get_proxy_async = (mtype != null && mtype.method_symbol.get_cname () == "g_dbus_connection_get_proxy_sync");
+		bool conn_get_proxy_async = (mtype != null && mtype.method_symbol.get_cname () == "g_dbus_connection_get_proxy");
 		bool conn_get_proxy_sync = (mtype != null && mtype.method_symbol.get_cname () == "g_dbus_connection_get_proxy_sync");
 		if (!bus_get_proxy_async && !bus_get_proxy_sync && !conn_get_proxy_async && !conn_get_proxy_sync) {
 			base.visit_method_call (expr);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]