mallardwriter: Put process_other with the rest of the processors
[platform/upstream/gobject-introspection.git] / giscanner / mallardwriter.py
index b46ed12..f688401 100644 (file)
@@ -174,9 +174,6 @@ class MallardFormatter(object):
             result += '</p>'
         return result
 
-    def _process_other(self, namespace, match, props):
-        return self.escape(match)
-
     def _resolve_type(self, ident):
         try:
             matches = self._transformer.split_ctype_namespaces(ident)
@@ -205,6 +202,9 @@ class MallardFormatter(object):
                 return item
         raise KeyError("Could not find %s" % (name, ))
 
+    def _process_other(self, namespace, match, props):
+        return self.escape(match)
+
     def _process_property(self, namespace, match, props):
         type_node = self._resolve_type(props['type_name'])
         if type_node is None: