summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog1
-rw-r--r--org/freedesktop/dbus/bin/CreateInterface.java3
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog b/changelog
index d7c5d28..bd15764 100644
--- a/changelog
+++ b/changelog
@@ -2,6 +2,7 @@ Version 2.4.1:
* Fix returning DBusSerializables (Spotted by Johannes Felten
<johannesfelten -at- googlemail -dot- com>)
+ * Fix CreateInterface (Spotted by Tom Walsh <walshtc -at- gmail -dot- com>)
Version 2.4:
diff --git a/org/freedesktop/dbus/bin/CreateInterface.java b/org/freedesktop/dbus/bin/CreateInterface.java
index 4b778fa..314f992 100644
--- a/org/freedesktop/dbus/bin/CreateInterface.java
+++ b/org/freedesktop/dbus/bin/CreateInterface.java
@@ -38,6 +38,7 @@ import javax.xml.parsers.ParserConfigurationException;
import org.freedesktop.DBus.Introspectable;
import org.freedesktop.dbus.DBusConnection;
+import org.freedesktop.dbus.Marshalling;
import org.freedesktop.dbus.exceptions.DBusException;
import org.freedesktop.dbus.exceptions.DBusExecutionException;
import org.freedesktop.dbus.types.DBusStructType;
@@ -103,7 +104,7 @@ public class CreateInterface
{
if (null == dbus || "".equals(dbus)) return "";
Vector<Type> v = new Vector<Type>();
- /* UNNECCESSARY?? int c = Marshalling.getJavaType(dbus, v, 1);*/
+ int c = Marshalling.getJavaType(dbus, v, 1);
Type t = v.get(0);
return collapseType(t, imports, structs, container, fullnames);
}