From f33453896716e69cacd0d065b7cc633258678946 Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Wed, 24 Mar 2004 13:15:20 +0000 Subject: Made all DBusTypes take Service in the constructor because Array also needed it in the case of an array of OBJECT_PATH objects. --- mono/DBusType/String.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mono/DBusType/String.cs') diff --git a/mono/DBusType/String.cs b/mono/DBusType/String.cs index 1eda1f25..bced310a 100644 --- a/mono/DBusType/String.cs +++ b/mono/DBusType/String.cs @@ -18,12 +18,12 @@ namespace DBus.DBusType { } - public String(string val) + public String(string val, Service service) { this.val = val; } - public String(IntPtr iter) + public String(IntPtr iter, Service service) { this.val = Marshal.PtrToStringAnsi(dbus_message_iter_get_string(iter)); } -- cgit