Diff between aad7ed9a6d5a2e6d6b55abab21eb19e1f7ba5f72 and fc458328d39b71529d7760fddee018e6458b97b4

Changed Files

File Additions Deletions Status
gdbus/object.c +0 -4 modified

Full Patch

diff --git a/gdbus/object.c b/gdbus/object.c
index 8301753..617ab5e 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -1346,10 +1346,6 @@ gboolean g_dbus_register_interface(DBusConnection *connection,
 {
 	struct generic_data *data;
 
-	if (!dbus_validate_path(path, NULL) ||
-				!dbus_validate_interface(name, NULL))
-		return FALSE;
-
 	data = object_path_ref(connection, path);
 	if (data == NULL)
 		return FALSE;