gio: Move the module-related static functions into the IOModule class

Also adjust their names and fix the return types.
This commit is contained in:
Bertrand Lorentz 2012-11-11 11:55:31 +01:00
parent 22ff426d88
commit 1a253aeedd

View file

@ -21,6 +21,11 @@
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="element_type">gchar*</attr> <attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="element_type">gchar*</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="owned">true</attr> <attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="owned">true</attr>
<attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="elements_owned">true</attr> <attr path="/api/namespace/class[@cname='GContent_']/method[@name='GetRegistered']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='ModulesLoadAllInDirectory']" name="name">LoadAllInDirectory</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']/return-type" name="element_type">GIOModule*</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']/return-type" name="elements_owned">true</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']/return-type" name="owned">true</attr>
<attr path="/api/namespace/class[@cname='GIo_']/method[@name='ModulesScanAllInDirectory']" name="name">ScanAllInDirectory</attr>
<attr path="/api/namespace/class[@name='Global']" name="name">GioGlobal</attr> <attr path="/api/namespace/class[@name='Global']" name="name">GioGlobal</attr>
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='enabled']" name="hidden">1</attr> <attr path="/api/namespace/interface[@cname='GAction']/property[@cname='enabled']" name="hidden">1</attr>
<attr path="/api/namespace/interface[@cname='GAction']/property[@cname='name']" name="hidden">1</attr> <attr path="/api/namespace/interface[@cname='GAction']/property[@cname='name']" name="hidden">1</attr>
@ -126,6 +131,8 @@
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="element_type">GDrive*</attr> <attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="element_type">GDrive*</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="owned">true</attr> <attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="owned">true</attr>
<attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="elements_owned">true</attr> <attr path="/api/namespace/object[@cname='GVolumeMonitor']/*[@name='GetConnectedDrives']/return-type" name="elements_owned">true</attr>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='LoadAllInDirectory']">/api/namespace/object[@cname='GIOModule']</move-node>
<move-node path="/api/namespace/class[@cname='GIo_']/method[@name='ScanAllInDirectory']">/api/namespace/object[@cname='GIOModule']</move-node>
<remove-node path="/api/namespace/class[@cname='GDbus_']/method[@name='ErrorSetDbusErrorValist']" /> <remove-node path="/api/namespace/class[@cname='GDbus_']/method[@name='ErrorSetDbusErrorValist']" />
<remove-node path="/api/namespace/enum[@cname='GSocketFamily']" /> <remove-node path="/api/namespace/enum[@cname='GSocketFamily']" />
<remove-node path="/api/namespace/enum[@cname='GSocketMsgFlags']" /> <remove-node path="/api/namespace/enum[@cname='GSocketMsgFlags']" />