changeset 24348:965699159512

merge of '0d3ce6dca7222c77b50e8a23fe0ed1bae02928a8' and '311b4db51b575e1baa7f78d751ff926475edecc3'
author Richard Laager <rlaager@wiktel.com>
date Thu, 13 Nov 2008 17:38:36 +0000
parents 7493462e6959 (diff) f18f37a62971 (current diff)
children 1406a2fa649d
files
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/dbus-analyze-functions.py	Thu Nov 13 09:00:45 2008 +0000
+++ b/libpurple/dbus-analyze-functions.py	Thu Nov 13 17:38:36 2008 +0000
@@ -372,13 +372,13 @@
 
     def inputsimple(self, type, name, us):
         if us:
+            self.cdecls.append("\tdbus_uint32_t %s;" % name)
+            self.cparams.append(("UINT32", name))
+            self.addintype("u", name)
+        else:
             self.cdecls.append("\tdbus_int32_t %s;" % name)
             self.cparams.append(("INT32", name))
             self.addintype("i", name)
-        else:
-            self.cdecls.append("\tdbus_uint32_t %s;" % name)
-            self.cparams.append(("UINT32", name))
-            self.addintype("u", name)
 
     def inputstring(self, type, name, us):
         if us: