@@ -0,0 +1,1491 @@
+# -*- Mode: Python; py-indent-offset: 4 -*-%0A# vim: tabstop=4 shiftwidth=4 expandtab%0A#%0A# Copyright (C) 2009 Johan Dahlin %3Cjohan@gnome.org%3E%0A#               2010 Simon van der Linden %3Csvdlinden@src.gnome.org%3E%0A#%0A# This library is free software; you can redistribute it and/or%0A# modify it under the terms of the GNU Lesser General Public%0A# License as published by the Free Software Foundation; either%0A# version 2.1 of the License, or (at your option) any later version.%0A#%0A# This library is distributed in the hope that it will be useful,%0A# but WITHOUT ANY WARRANTY; without even the implied warranty of%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU%0A# Lesser General Public License for more details.%0A#%0A# You should have received a copy of the GNU Lesser General Public%0A# License along with this library; if not, write to the Free Software%0A# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301%0A# USA%0A%0Aimport ctypes%0A%0Afrom ..types import override%0Afrom ..importer import modules%0Afrom .._gi import variant_new_tuple%0A%0AGLib = modules%5B'GLib'%5D%0A%0A__all__ = %5B%5D%0A%0Aclass Variant(GLib.Variant):%0A    def __repr__(self):%0A        return '%3CGLib.Variant(%25s)%3E' %25 getattr(self, 'print')(True)%0A%0A@classmethod%0Adef new_tuple(cls, *elements):%0A    return variant_new_tuple(elements)%0A%0Adef get_string(self):%0A    value, length = GLib.Variant.get_string(self)%0A    return value%0A%0Asetattr(Variant, 'new_tuple', new_tuple)%0Asetattr(Variant, 'get_string', get_string)%0A%0A__all__.append('Variant')%0A%0A

Add missing file