[Xfce4-commits] [apps/xfce4-screensaver] 01/01: Remove deprecated DBUS methods and signals from documentation

noreply at xfce.org noreply at xfce.org
Thu Nov 22 17:03:15 CET 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit a304115db3d90feb926c6327b89dee02bc86adca
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Thu Nov 22 11:03:09 2018 -0500

    Remove deprecated DBUS methods and signals from documentation
---
 NEWS                   |   2 +
 doc/dbus-interface.xml | 121 -------------------------------------------------
 2 files changed, 2 insertions(+), 121 deletions(-)

diff --git a/NEWS b/NEWS
index 96b5a23..cb6e41b 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,8 @@
   - Locking on user inactivity is now based on X11 Screensaver signals
   - Xfce Screensaver now respects the xdg-screensaver state
   - Screensaver and lock screen functionality can now be toggled separately
+- General:
+  - Removed deprecated DBUS methods and signals from documentation
 - Preferences:
   - Dropped unused preferences
   - Renamed all Xfconf properties for improved clarity
diff --git a/doc/dbus-interface.xml b/doc/dbus-interface.xml
index a7f112f..3934e22 100644
--- a/doc/dbus-interface.xml
+++ b/doc/dbus-interface.xml
@@ -294,61 +294,6 @@
         </tgroup>
       </informaltable>
     </sect2>
-
-    <sect2 id="gs-method-GetSessionIdle">
-      <title>
-        <literal>GetSessionIdle</literal>
-      </title>
-      <para>
-        Returns the value of the current state of session idleness.
-      </para>
-      <informaltable>
-        <tgroup cols="2">
-          <thead>
-            <row>
-              <entry>Direction</entry>
-              <entry>Type</entry>
-              <entry>Description</entry>
-            </row>
-          </thead>
-          <tbody>
-            <row>
-              <entry>out</entry>
-              <entry>boolean</entry>
-              <entry>If the session is idle</entry>
-            </row>
-          </tbody>
-        </tgroup>
-      </informaltable>
-    </sect2>
-
-    <sect2 id="gs-method-GetSessionIdleTime">
-      <title>
-        <literal>GetSessionIdleTime</literal>
-      </title>
-      <para>
-        Returns the number of seconds that the session has been idle.
-        Returns zero if the session is not idle.
-      </para>
-      <informaltable>
-        <tgroup cols="2">
-          <thead>
-            <row>
-              <entry>Direction</entry>
-              <entry>Type</entry>
-              <entry>Description</entry>
-            </row>
-          </thead>
-          <tbody>
-            <row>
-              <entry>out</entry>
-              <entry>unsigned integer</entry>
-              <entry>Idle time in seconds</entry>
-            </row>
-          </tbody>
-        </tgroup>
-      </informaltable>
-    </sect2>
   </sect1>
 
   <sect1 id="gs-signals">
@@ -383,69 +328,11 @@
         </tgroup>
       </informaltable>
     </sect2>
-
-    <sect2 id="gs-signal-SessionIdleChanged">
-      <title>
-        <literal>SessionIdleChanged</literal>
-      </title>
-      <para>
-        See method GetActive().
-      </para>
-      <informaltable>
-        <tgroup cols="2">
-          <thead>
-            <row>
-              <entry>Direction</entry>
-              <entry>Type</entry>
-              <entry>Description</entry>
-            </row>
-          </thead>
-          <tbody>
-            <row>
-              <entry>out</entry>
-              <entry>boolean</entry>
-              <entry>Returns the value of the current state of activity.</entry>
-            </row>
-          </tbody>
-        </tgroup>
-      </informaltable>
-    </sect2>
-
-    <sect2 id="gs-signal-AuthenticationRequestBegin">
-      <title>
-        <literal>AuthenticationRequestBegin</literal>
-      </title>
-      <para>
-        Emitted before an authentication request
-      </para>
-    </sect2>
-
-    <sect2 id="gs-signal-AuthenticationRequestEnd">
-      <title>
-        <literal>AuthenticationRequestEnd</literal>
-      </title>
-      <para>
-        Emitted after an authentication request
-      </para>
-    </sect2>
   </sect1>
 
   <sect1 id="gs-examples">
     <title>Examples</title>
     <para>
-      You can get the number of seconds the screensaver has been active by
-      running the following:
-    </para>
-    <screen>
-dbus-send --session \
-          --dest=org.xfce.ScreenSaver \
-          --type=method_call \
-          --print-reply \
-          --reply-timeout=20000 \
-          /org/xfce/ScreenSaver \
-          org.xfce.ScreenSaver.GetSessionIdleTime
-    </screen>
-    <para>
       You can activate the screensaver like so:
     </para>
     <screen>
@@ -466,14 +353,6 @@ dbus-send --session \
 dbus-monitor --session \
           "type='signal',interface='org.xfce.ScreenSaver'"
     </screen>
-
-    <para>
-      Or watch for a specific screensaver signal:
-    </para>
-    <screen>
-dbus-monitor --session \
-          "type='signal',interface='org.xfce.ScreenSaver',member='SessionIdleChanged'"
-    </screen>
   </sect1>
 
 </chapter>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list