gobject-introspection r428 - in trunk: . giscanner tests/scanner



Author: walters
Date: Thu Aug 21 00:45:14 2008
New Revision: 428
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=428&view=rev

Log:
2008-08-20  Colin Walters  <walters verbum org>

	* tests/scanner/*-expected.gir: Adjust for
	added shared-library.
	* giscanner/giwriter.py: Make pylint happy.


Modified:
   trunk/ChangeLog
   trunk/giscanner/girwriter.py
   trunk/tests/scanner/annotation-expected.gir
   trunk/tests/scanner/drawable-expected.gir
   trunk/tests/scanner/foo-expected.gir
   trunk/tests/scanner/utility-expected.gir

Modified: trunk/giscanner/girwriter.py
==============================================================================
--- trunk/giscanner/girwriter.py	(original)
+++ trunk/giscanner/girwriter.py	Thu Aug 21 00:45:14 2008
@@ -46,7 +46,8 @@
             self._write_namespace(namespace, shlib)
 
     def _write_namespace(self, namespace, shlib):
-        attrs = [('name', namespace.name),('shared-library', os.path.basename(shlib))]
+        attrs = [('name', namespace.name),
+                 ('shared-library', os.path.basename(shlib))]
         with self.tagcontext('namespace', attrs):
             for node in namespace.nodes:
                 self._write_node(node)

Modified: trunk/tests/scanner/annotation-expected.gir
==============================================================================
--- trunk/tests/scanner/annotation-expected.gir	(original)
+++ trunk/tests/scanner/annotation-expected.gir	Thu Aug 21 00:45:14 2008
@@ -2,7 +2,7 @@
             xmlns="http://www.gtk.org/introspection/core/1.0";
             xmlns:c="http://www.gtk.org/introspection/c/1.0";
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
-  <namespace name="test">
+  <namespace name="test" shared-library="libannotation.la">
     <record name="AnnotationObject" c:type="AnnotationObject">
       <field name="parent_instance">
         <type name="GObject.Object" c:type="GObject"/>

Modified: trunk/tests/scanner/drawable-expected.gir
==============================================================================
--- trunk/tests/scanner/drawable-expected.gir	(original)
+++ trunk/tests/scanner/drawable-expected.gir	Thu Aug 21 00:45:14 2008
@@ -2,7 +2,7 @@
             xmlns="http://www.gtk.org/introspection/core/1.0";
             xmlns:c="http://www.gtk.org/introspection/c/1.0";
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
-  <namespace name="test">
+  <namespace name="test" shared-library="libdrawable.la">
     <class name="Drawable"
            c:type="TestDrawable"
            parent="GObject.Object"

Modified: trunk/tests/scanner/foo-expected.gir
==============================================================================
--- trunk/tests/scanner/foo-expected.gir	(original)
+++ trunk/tests/scanner/foo-expected.gir	Thu Aug 21 00:45:14 2008
@@ -2,7 +2,7 @@
             xmlns="http://www.gtk.org/introspection/core/1.0";
             xmlns:c="http://www.gtk.org/introspection/c/1.0";
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
-  <namespace name="foo">
+  <namespace name="foo" shared-library="libfoo.la">
     <alias name="List" target="GLib.SList" c:type="FooList"/>
     <alias name="XEvent" target="none" c:type="FooXEvent"/>
     <interface name="Interface"

Modified: trunk/tests/scanner/utility-expected.gir
==============================================================================
--- trunk/tests/scanner/utility-expected.gir	(original)
+++ trunk/tests/scanner/utility-expected.gir	Thu Aug 21 00:45:14 2008
@@ -2,7 +2,7 @@
             xmlns="http://www.gtk.org/introspection/core/1.0";
             xmlns:c="http://www.gtk.org/introspection/c/1.0";
             xmlns:glib="http://www.gtk.org/introspection/glib/1.0";>
-  <namespace name="utility">
+  <namespace name="utility" shared-library="libutility.la">
     <class name="Object"
            c:type="UtilityObject"
            parent="GObject.Object"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]