7fb3ecc12c
g_error() is the wrong thing to do when, for example, we can't find the DRM device, since Mutter should just fail to start rather than reporting a bug into automatic bug tracking systems. Rather than trying to decipher which errors are "expected" and which not, just make all failure paths in meta_launcher_new() return a GError out to the caller - which we make exit(1). https://bugzilla.gnome.org/show_bug.cgi?id=757311
47 lines
1.4 KiB
XML
47 lines
1.4 KiB
XML
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
|
<node>
|
|
<interface name="org.freedesktop.login1.Session">
|
|
<property name="Active" type="b" access="read" />
|
|
|
|
<method name="Activate">
|
|
</method>
|
|
<method name="TakeControl">
|
|
<arg name="force" type="b"/>
|
|
</method>
|
|
<method name="ReleaseControl">
|
|
</method>
|
|
<method name="TakeDevice">
|
|
<annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
|
|
<arg name="major" type="u" direction="in"/>
|
|
<arg name="minor" type="u" direction="in"/>
|
|
<arg name="fd" type="h" direction="out"/>
|
|
<arg name="paused" type="b" direction="out"/>
|
|
</method>
|
|
<method name="ReleaseDevice">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
</method>
|
|
<method name="PauseDeviceComplete">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
</method>
|
|
<signal name="PauseDevice">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
<arg name="type" type="s"/>
|
|
</signal>
|
|
<signal name="ResumeDevice">
|
|
<arg name="major" type="u"/>
|
|
<arg name="minor" type="u"/>
|
|
<arg name="fd" type="h"/>
|
|
</signal>
|
|
</interface>
|
|
|
|
<interface name="org.freedesktop.login1.Seat">
|
|
<method name="SwitchTo">
|
|
<arg name="vt" type="u"/>
|
|
</method>
|
|
</interface>
|
|
</node>
|