dbus/mono/DBusType ObjectPath.cs,1.1,1.2

Owen Fraser-Green ow3n at pdx.freedesktop.org
Wed Mar 24 02:28:17 PST 2004


Update of /cvs/dbus/dbus/mono/DBusType
In directory pdx:/tmp/cvs-serv24968/DBusType

Modified Files:
	ObjectPath.cs 
Log Message:
Changed Suits method to not look recursively for Interface attributes


Index: ObjectPath.cs
===================================================================
RCS file: /cvs/dbus/dbus/mono/DBusType/ObjectPath.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/ObjectPath.cs	23 Mar 2004 12:10:32 -0000	1.1
+++ b/ObjectPath.cs	24 Mar 2004 10:28:15 -0000	1.2
@@ -60,7 +60,7 @@
 
     public static bool Suits(System.Type type) 
     {
-      object[] attributes = type.GetCustomAttributes(typeof(InterfaceAttribute), true);
+      object[] attributes = type.GetCustomAttributes(typeof(InterfaceAttribute), false);
       if (attributes.Length == 1) {
 	return true;
       } else {




More information about the dbus-commit mailing list