[Pkg-xfce-commits] [Git][xfce-team/desktop/xfce4-power-manager][upstream/latest] New upstream version 4.17.1.

Unit 193 (@unit193) gitlab at salsa.debian.org
Mon Dec 5 08:16:28 GMT 2022



Unit 193 pushed to branch upstream/latest at xfce / desktop / xfce4-power-manager


Commits:
ddcb43d3 by Unit 193 at 2022-12-05T03:11:02-05:00
New upstream version 4.17.1.
- - - - -


19 changed files:

- ChangeLog
- NEWS
- common/xfpm-common.c
- common/xfpm-common.h
- common/xfpm-config.h
- common/xfpm-debug.h
- common/xfpm-enum-glib.h
- common/xfpm-enum.h
- configure
- configure.ac
- libdbus/xfpm-dbus.c
- settings/xfce-power-manager-dbus.c
- settings/xfce-power-manager-dbus.h
- src/org.freedesktop.PowerManagement.Inhibit.c
- src/org.freedesktop.PowerManagement.Inhibit.h
- src/xfce-power-manager-dbus.c
- src/xfce-power-manager-dbus.h
- src/xfpm-dpms.h
- src/xfpm-kbd-backlight.c


Changes:

=====================================
ChangeLog
=====================================
@@ -1,3 +1,37 @@
+commit cc9c019226cb6fadbe40648f009e6870d8cc4628
+Author: Alexander Schwinn <alexxcons at xfce.org>
+Date:   Sat Nov 12 21:43:39 2022 +0100
+
+    bump copyright year to 2022
+
+commit 4e1e9450e03564d5fa38e4efad032b248deb7ef1
+Author: Akbarkhon Variskhanov <akbarkhon.variskhanov at gmail.com>
+Date:   Wed Nov 9 07:55:23 2022 +0000
+
+    autoconf: Use AC_CONFIG_MACRO_DIRS
+    
+    MR !26
+
+commit bc9bb2569ec9fa2fc7d52783cf14170fd5905e2d
+Author: Gaël Bonithon <gael at xfce.org>
+Date:   Wed Nov 9 07:47:55 2022 +0000
+
+    Do not include `config.h` in headers
+    
+    MR !27
+
+commit 27e4b3792e87d3787e0fe8dcf803da43fc88964f
+Author: Alexander Schwinn <alexxcons at xfce.org>
+Date:   Tue Nov 1 10:26:54 2022 +0100
+
+    Back to development
+
+commit f132e4894ee68aa67e561b25e131aaa957c23447
+Author: Alexander Schwinn <alexxcons at xfce.org>
+Date:   Tue Nov 1 10:25:23 2022 +0100
+
+    Updates for release
+
 commit af9f89c8498c83c7c8ca2efc7ce97014fe782455
 Author: Anonymous <noreply at xfce.org>
 Date:   Wed Oct 19 00:46:10 2022 +0200


=====================================
NEWS
=====================================
@@ -1,3 +1,10 @@
+4.17.1 (2022-12-01)
+======
+- bump copyright year to 2022
+- autoconf: Use AC_CONFIG_MACRO_DIRS
+- Do not include `config.h` in headers
+
+
 4.17.0 (2022-11-01)
 ======
 - settings: Revert type hint change


=====================================
common/xfpm-common.c
=====================================
@@ -18,6 +18,10 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
 
 #include <libxfce4util/libxfce4util.h>


=====================================
common/xfpm-common.h
=====================================
@@ -21,10 +21,6 @@
 #ifndef __XFPM_COMMON_H
 #define __XFPM_COMMON_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <glib.h>
 #include <gtk/gtk.h>
 


=====================================
common/xfpm-config.h
=====================================
@@ -23,10 +23,6 @@
 #ifndef __XFPM_CONFIG_H
 #define __XFPM_CONFIG_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <glib.h>
 
 G_BEGIN_DECLS


=====================================
common/xfpm-debug.h
=====================================
@@ -21,10 +21,6 @@
 #ifndef __XFPM_DEBUG_H
 #define __XFPM_DEBUG_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <stdarg.h>
 #include <glib.h>
 


=====================================
common/xfpm-enum-glib.h
=====================================
@@ -21,10 +21,6 @@
 #ifndef __XFPM_ENUM_GLIB_H
 #define __XFPM_ENUM_GLIB_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 G_BEGIN_DECLS
 
 /*


=====================================
common/xfpm-enum.h
=====================================
@@ -21,10 +21,6 @@
 #ifndef __XFPM_ENUM_H
 #define __XFPM_ENUM_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <gtk/gtk.h>
 
 G_BEGIN_DECLS


=====================================
configure
=====================================
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.71 for xfce4-power-manager 4.17.0.
+# Generated by GNU Autoconf 2.71 for xfce4-power-manager 4.17.1.
 #
 # Report bugs to <http://bugzilla.xfce.org/>.
 #
@@ -621,8 +621,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='xfce4-power-manager'
 PACKAGE_TARNAME='xfce4-power-manager'
-PACKAGE_VERSION='4.17.0'
-PACKAGE_STRING='xfce4-power-manager 4.17.0'
+PACKAGE_VERSION='4.17.1'
+PACKAGE_STRING='xfce4-power-manager 4.17.1'
 PACKAGE_BUGREPORT='http://bugzilla.xfce.org/'
 PACKAGE_URL=''
 
@@ -1480,7 +1480,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures xfce4-power-manager 4.17.0 to adapt to many kinds of systems.
+\`configure' configures xfce4-power-manager 4.17.1 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1556,7 +1556,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of xfce4-power-manager 4.17.0:";;
+     short | recursive ) echo "Configuration of xfce4-power-manager 4.17.1:";;
    esac
   cat <<\_ACEOF
 
@@ -1693,7 +1693,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-xfce4-power-manager configure 4.17.0
+xfce4-power-manager configure 4.17.1
 generated by GNU Autoconf 2.71
 
 Copyright (C) 2021 Free Software Foundation, Inc.
@@ -2001,7 +2001,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by xfce4-power-manager $as_me 4.17.0, which was
+It was created by xfce4-power-manager $as_me 4.17.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3277,7 +3277,7 @@ fi
 
 # Define the identity of the package.
  PACKAGE='xfce4-power-manager'
- VERSION='4.17.0'
+ VERSION='4.17.1'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -19609,7 +19609,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by xfce4-power-manager $as_me 4.17.0, which was
+This file was extended by xfce4-power-manager $as_me 4.17.1, which was
 generated by GNU Autoconf 2.71.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -19677,7 +19677,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-xfce4-power-manager config.status 4.17.0
+xfce4-power-manager config.status 4.17.1
 configured by $0, generated by GNU Autoconf 2.71,
   with options \\"\$ac_cs_config\\"
 


=====================================
configure.ac
=====================================
@@ -6,14 +6,14 @@ dnl
 m4_define([intltool_minimum_version], [0.31])
 m4_define([xfpm_version_major], [4])
 m4_define([xfpm_version_minor], [17])
-m4_define([xfpm_version_micro], [0])
-m4_define([xfpm_version_build], [af9f89c8])
+m4_define([xfpm_version_micro], [1])
+m4_define([xfpm_version_build], [cc9c0192])
 m4_define([xfpm_version_tag], [])
 m4_define([xfpm_version], [xfpm_version_major().xfpm_version_minor().xfpm_version_micro()ifelse(xfpm_version_tag(), [git], [xfpm_version_tag()-xfpm_version_build()], [xfpm_version_tag()])])
 
 AC_INIT([xfce4-power-manager],[xfpm_version],[http://bugzilla.xfce.org/])
 AC_PREREQ([2.60])
-AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_MACRO_DIRS([m4])
 
 # subdir-objects is currently broken, see
 # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928


=====================================
libdbus/xfpm-dbus.c
=====================================
@@ -18,6 +18,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "xfpm-dbus.h"
 
 gboolean


=====================================
settings/xfce-power-manager-dbus.c
=====================================
@@ -1,8 +1,9 @@
 /*
- * Generated by gdbus-codegen 2.62.4 from org.xfce.Power.Manager.xml. DO NOT EDIT.
+ * This file is generated by gdbus-codegen, do not modify it.
  *
  * The license of this code is the same as for the D-Bus interface description
- * it was derived from.
+ * it was derived from. Note that it links to GLib, so must comply with the
+ * LGPL linking clauses.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -322,7 +323,7 @@ xfpm_power_manager_interface_info (void)
  * Returns: The last property id.
  */
 guint
-xfpm_power_manager_override_properties (GObjectClass *klass, guint property_id_begin)
+xfpm_power_manager_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
 {
   return property_id_begin - 1;
 }
@@ -360,9 +361,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.Quit">Quit()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_quit() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_quit() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-quit",
     G_TYPE_FROM_INTERFACE (iface),
@@ -382,9 +383,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.Restart">Restart()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_restart() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_restart() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-restart",
     G_TYPE_FROM_INTERFACE (iface),
@@ -404,9 +405,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.GetConfig">GetConfig()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_config() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_config() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-get-config",
     G_TYPE_FROM_INTERFACE (iface),
@@ -426,9 +427,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.GetInfo">GetInfo()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_info() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_info() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-get-info",
     G_TYPE_FROM_INTERFACE (iface),
@@ -451,7 +452,7 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.Quit">Quit()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_quit_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_quit_sync() for the synchronous, blocking version of this method.
@@ -481,7 +482,7 @@ xfpm_power_manager_call_quit (
  *
  * Finishes an operation started with xfpm_power_manager_call_quit().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_quit_finish (
@@ -510,7 +511,7 @@ _out:
  *
  * See xfpm_power_manager_call_quit() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_quit_sync (
@@ -543,7 +544,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.Restart">Restart()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_restart_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_restart_sync() for the synchronous, blocking version of this method.
@@ -573,7 +574,7 @@ xfpm_power_manager_call_restart (
  *
  * Finishes an operation started with xfpm_power_manager_call_restart().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_restart_finish (
@@ -602,7 +603,7 @@ _out:
  *
  * See xfpm_power_manager_call_restart() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_restart_sync (
@@ -635,7 +636,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.GetConfig">GetConfig()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_get_config_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_get_config_sync() for the synchronous, blocking version of this method.
@@ -666,7 +667,7 @@ xfpm_power_manager_call_get_config (
  *
  * Finishes an operation started with xfpm_power_manager_call_get_config().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_config_finish (
@@ -698,7 +699,7 @@ _out:
  *
  * See xfpm_power_manager_call_get_config() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_config_sync (
@@ -733,7 +734,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.GetInfo">GetInfo()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_get_info_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_get_info_sync() for the synchronous, blocking version of this method.
@@ -766,7 +767,7 @@ xfpm_power_manager_call_get_info (
  *
  * Finishes an operation started with xfpm_power_manager_call_get_info()..
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_info_finish (
@@ -804,7 +805,7 @@ _out:
  *
  * See xfpm_power_manager_call_get_info() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_info_sync (
@@ -846,7 +847,7 @@ _out:
  */
 void
 xfpm_power_manager_complete_quit (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation)
 {
   g_dbus_method_invocation_return_value (invocation,
@@ -864,7 +865,7 @@ xfpm_power_manager_complete_quit (
  */
 void
 xfpm_power_manager_complete_restart (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation)
 {
   g_dbus_method_invocation_return_value (invocation,
@@ -883,7 +884,7 @@ xfpm_power_manager_complete_restart (
  */
 void
 xfpm_power_manager_complete_get_config (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     GVariant *config)
 {
@@ -906,7 +907,7 @@ xfpm_power_manager_complete_get_config (
  */
 void
 xfpm_power_manager_complete_get_info (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     const gchar *name,
     const gchar *version,
@@ -960,17 +961,17 @@ xfpm_power_manager_proxy_finalize (GObject *object)
 }
 
 static void
-xfpm_power_manager_proxy_get_property (GObject      *object,
-  guint         prop_id,
-  GValue       *value,
+xfpm_power_manager_proxy_get_property (GObject      *object G_GNUC_UNUSED,
+  guint         prop_id G_GNUC_UNUSED,
+  GValue       *value G_GNUC_UNUSED,
   GParamSpec   *pspec G_GNUC_UNUSED)
 {
 }
 
 static void
-xfpm_power_manager_proxy_set_property (GObject      *object,
-  guint         prop_id,
-  const GValue *value,
+xfpm_power_manager_proxy_set_property (GObject      *object G_GNUC_UNUSED,
+  guint         prop_id G_GNUC_UNUSED,
+  const GValue *value G_GNUC_UNUSED,
   GParamSpec   *pspec G_GNUC_UNUSED)
 {
 }
@@ -1078,7 +1079,7 @@ xfpm_power_manager_proxy_class_init (XfpmPowerManagerProxyClass *klass)
 }
 
 static void
-xfpm_power_manager_proxy_iface_init (XfpmPowerManagerIface *iface)
+xfpm_power_manager_proxy_iface_init (XfpmPowerManagerIface *iface G_GNUC_UNUSED)
 {
 }
 
@@ -1094,7 +1095,7 @@ xfpm_power_manager_proxy_iface_init (XfpmPowerManagerIface *iface)
  *
  * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-xfce-Power-Manager.top_of_page">org.xfce.Power.Manager</link>. See g_dbus_proxy_new() for more details.
  *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_proxy_new_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_proxy_new_sync() for the synchronous, blocking version of this constructor.
@@ -1184,7 +1185,7 @@ xfpm_power_manager_proxy_new_sync (
  *
  * Like xfpm_power_manager_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
  *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_proxy_new_for_bus_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
@@ -1470,7 +1471,7 @@ out:
 }
 
 static void
-xfpm_power_manager_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
+xfpm_power_manager_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
 {
 }
 
@@ -1531,7 +1532,7 @@ xfpm_power_manager_skeleton_class_init (XfpmPowerManagerSkeletonClass *klass)
 }
 
 static void
-xfpm_power_manager_skeleton_iface_init (XfpmPowerManagerIface *iface)
+xfpm_power_manager_skeleton_iface_init (XfpmPowerManagerIface *iface G_GNUC_UNUSED)
 {
 }
 


=====================================
settings/xfce-power-manager-dbus.h
=====================================
@@ -1,8 +1,9 @@
 /*
- * Generated by gdbus-codegen 2.62.4 from org.xfce.Power.Manager.xml. DO NOT EDIT.
+ * This file is generated by gdbus-codegen, do not modify it.
  *
  * The license of this code is the same as for the D-Bus interface description
- * it was derived from.
+ * it was derived from. Note that it links to GLib, so must comply with the
+ * LGPL linking clauses.
  */
 
 #ifndef __XFCE_POWER_MANAGER_DBUS_H__


=====================================
src/org.freedesktop.PowerManagement.Inhibit.c
=====================================
@@ -1,8 +1,9 @@
 /*
- * Generated by gdbus-codegen 2.62.4 from org.freedesktop.PowerManagement.Inhibit.xml. DO NOT EDIT.
+ * This file is generated by gdbus-codegen, do not modify it.
  *
  * The license of this code is the same as for the D-Bus interface description
- * it was derived from.
+ * it was derived from. Note that it links to GLib, so must comply with the
+ * LGPL linking clauses.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -409,7 +410,7 @@ xfpm_power_management_inhibit_interface_info (void)
  * Returns: The last property id.
  */
 guint
-xfpm_power_management_inhibit_override_properties (GObjectClass *klass, guint property_id_begin)
+xfpm_power_management_inhibit_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
 {
   return property_id_begin - 1;
 }
@@ -450,9 +451,9 @@ xfpm_power_management_inhibit_default_init (XfpmPowerManagementInhibitIface *ifa
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.Inhibit">Inhibit()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_inhibit() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_inhibit() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-inhibit",
     G_TYPE_FROM_INTERFACE (iface),
@@ -473,9 +474,9 @@ xfpm_power_management_inhibit_default_init (XfpmPowerManagementInhibitIface *ifa
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.UnInhibit">UnInhibit()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_un_inhibit() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_un_inhibit() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-un-inhibit",
     G_TYPE_FROM_INTERFACE (iface),
@@ -495,9 +496,9 @@ xfpm_power_management_inhibit_default_init (XfpmPowerManagementInhibitIface *ifa
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.HasInhibit">HasInhibit()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_has_inhibit() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_has_inhibit() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-has-inhibit",
     G_TYPE_FROM_INTERFACE (iface),
@@ -517,9 +518,9 @@ xfpm_power_management_inhibit_default_init (XfpmPowerManagementInhibitIface *ifa
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.GetInhibitors">GetInhibitors()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_get_inhibitors() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_management_inhibit_complete_get_inhibitors() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-get-inhibitors",
     G_TYPE_FROM_INTERFACE (iface),
@@ -579,7 +580,7 @@ xfpm_power_management_inhibit_emit_has_inhibit_changed (
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.Inhibit">Inhibit()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_management_inhibit_call_inhibit_finish() to get the result of the operation.
  *
  * See xfpm_power_management_inhibit_call_inhibit_sync() for the synchronous, blocking version of this method.
@@ -614,7 +615,7 @@ xfpm_power_management_inhibit_call_inhibit (
  *
  * Finishes an operation started with xfpm_power_management_inhibit_call_inhibit().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_inhibit_finish (
@@ -648,7 +649,7 @@ _out:
  *
  * See xfpm_power_management_inhibit_call_inhibit() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_inhibit_sync (
@@ -688,7 +689,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.UnInhibit">UnInhibit()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_management_inhibit_call_un_inhibit_finish() to get the result of the operation.
  *
  * See xfpm_power_management_inhibit_call_un_inhibit_sync() for the synchronous, blocking version of this method.
@@ -720,7 +721,7 @@ xfpm_power_management_inhibit_call_un_inhibit (
  *
  * Finishes an operation started with xfpm_power_management_inhibit_call_un_inhibit().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_un_inhibit_finish (
@@ -750,7 +751,7 @@ _out:
  *
  * See xfpm_power_management_inhibit_call_un_inhibit() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_un_inhibit_sync (
@@ -785,7 +786,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.HasInhibit">HasInhibit()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_management_inhibit_call_has_inhibit_finish() to get the result of the operation.
  *
  * See xfpm_power_management_inhibit_call_has_inhibit_sync() for the synchronous, blocking version of this method.
@@ -816,7 +817,7 @@ xfpm_power_management_inhibit_call_has_inhibit (
  *
  * Finishes an operation started with xfpm_power_management_inhibit_call_has_inhibit().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_has_inhibit_finish (
@@ -848,7 +849,7 @@ _out:
  *
  * See xfpm_power_management_inhibit_call_has_inhibit() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_has_inhibit_sync (
@@ -883,7 +884,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-PowerManagement-Inhibit.GetInhibitors">GetInhibitors()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_management_inhibit_call_get_inhibitors_finish() to get the result of the operation.
  *
  * See xfpm_power_management_inhibit_call_get_inhibitors_sync() for the synchronous, blocking version of this method.
@@ -914,7 +915,7 @@ xfpm_power_management_inhibit_call_get_inhibitors (
  *
  * Finishes an operation started with xfpm_power_management_inhibit_call_get_inhibitors().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_get_inhibitors_finish (
@@ -946,7 +947,7 @@ _out:
  *
  * See xfpm_power_management_inhibit_call_get_inhibitors() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_management_inhibit_call_get_inhibitors_sync (
@@ -985,7 +986,7 @@ _out:
  */
 void
 xfpm_power_management_inhibit_complete_inhibit (
-    XfpmPowerManagementInhibit *object,
+    XfpmPowerManagementInhibit *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     guint cookie)
 {
@@ -1005,7 +1006,7 @@ xfpm_power_management_inhibit_complete_inhibit (
  */
 void
 xfpm_power_management_inhibit_complete_un_inhibit (
-    XfpmPowerManagementInhibit *object,
+    XfpmPowerManagementInhibit *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation)
 {
   g_dbus_method_invocation_return_value (invocation,
@@ -1024,7 +1025,7 @@ xfpm_power_management_inhibit_complete_un_inhibit (
  */
 void
 xfpm_power_management_inhibit_complete_has_inhibit (
-    XfpmPowerManagementInhibit *object,
+    XfpmPowerManagementInhibit *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     gboolean has_inhibit)
 {
@@ -1045,7 +1046,7 @@ xfpm_power_management_inhibit_complete_has_inhibit (
  */
 void
 xfpm_power_management_inhibit_complete_get_inhibitors (
-    XfpmPowerManagementInhibit *object,
+    XfpmPowerManagementInhibit *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     const gchar *const *inhibitors)
 {
@@ -1095,17 +1096,17 @@ xfpm_power_management_inhibit_proxy_finalize (GObject *object)
 }
 
 static void
-xfpm_power_management_inhibit_proxy_get_property (GObject      *object,
-  guint         prop_id,
-  GValue       *value,
+xfpm_power_management_inhibit_proxy_get_property (GObject      *object G_GNUC_UNUSED,
+  guint         prop_id G_GNUC_UNUSED,
+  GValue       *value G_GNUC_UNUSED,
   GParamSpec   *pspec G_GNUC_UNUSED)
 {
 }
 
 static void
-xfpm_power_management_inhibit_proxy_set_property (GObject      *object,
-  guint         prop_id,
-  const GValue *value,
+xfpm_power_management_inhibit_proxy_set_property (GObject      *object G_GNUC_UNUSED,
+  guint         prop_id G_GNUC_UNUSED,
+  const GValue *value G_GNUC_UNUSED,
   GParamSpec   *pspec G_GNUC_UNUSED)
 {
 }
@@ -1213,7 +1214,7 @@ xfpm_power_management_inhibit_proxy_class_init (XfpmPowerManagementInhibitProxyC
 }
 
 static void
-xfpm_power_management_inhibit_proxy_iface_init (XfpmPowerManagementInhibitIface *iface)
+xfpm_power_management_inhibit_proxy_iface_init (XfpmPowerManagementInhibitIface *iface G_GNUC_UNUSED)
 {
 }
 
@@ -1229,7 +1230,7 @@ xfpm_power_management_inhibit_proxy_iface_init (XfpmPowerManagementInhibitIface
  *
  * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-PowerManagement-Inhibit.top_of_page">org.freedesktop.PowerManagement.Inhibit</link>. See g_dbus_proxy_new() for more details.
  *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_management_inhibit_proxy_new_finish() to get the result of the operation.
  *
  * See xfpm_power_management_inhibit_proxy_new_sync() for the synchronous, blocking version of this constructor.
@@ -1319,7 +1320,7 @@ xfpm_power_management_inhibit_proxy_new_sync (
  *
  * Like xfpm_power_management_inhibit_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
  *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_management_inhibit_proxy_new_for_bus_finish() to get the result of the operation.
  *
  * See xfpm_power_management_inhibit_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
@@ -1605,7 +1606,7 @@ out:
 }
 
 static void
-xfpm_power_management_inhibit_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
+xfpm_power_management_inhibit_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
 {
 }
 


=====================================
src/org.freedesktop.PowerManagement.Inhibit.h
=====================================
@@ -1,8 +1,9 @@
 /*
- * Generated by gdbus-codegen 2.62.4 from org.freedesktop.PowerManagement.Inhibit.xml. DO NOT EDIT.
+ * This file is generated by gdbus-codegen, do not modify it.
  *
  * The license of this code is the same as for the D-Bus interface description
- * it was derived from.
+ * it was derived from. Note that it links to GLib, so must comply with the
+ * LGPL linking clauses.
  */
 
 #ifndef __ORG_FREEDESKTOP_POWERMANAGEMENT_INHIBIT_H__


=====================================
src/xfce-power-manager-dbus.c
=====================================
@@ -1,8 +1,9 @@
 /*
- * Generated by gdbus-codegen 2.62.4 from org.xfce.Power.Manager.xml. DO NOT EDIT.
+ * This file is generated by gdbus-codegen, do not modify it.
  *
  * The license of this code is the same as for the D-Bus interface description
- * it was derived from.
+ * it was derived from. Note that it links to GLib, so must comply with the
+ * LGPL linking clauses.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -322,7 +323,7 @@ xfpm_power_manager_interface_info (void)
  * Returns: The last property id.
  */
 guint
-xfpm_power_manager_override_properties (GObjectClass *klass, guint property_id_begin)
+xfpm_power_manager_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
 {
   return property_id_begin - 1;
 }
@@ -360,9 +361,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.Quit">Quit()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_quit() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_quit() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-quit",
     G_TYPE_FROM_INTERFACE (iface),
@@ -382,9 +383,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.Restart">Restart()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_restart() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_restart() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-restart",
     G_TYPE_FROM_INTERFACE (iface),
@@ -404,9 +405,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.GetConfig">GetConfig()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_config() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_config() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-get-config",
     G_TYPE_FROM_INTERFACE (iface),
@@ -426,9 +427,9 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
    *
    * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-xfce-Power-Manager.GetInfo">GetInfo()</link> D-Bus method.
    *
-   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_info() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
+   * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call xfpm_power_manager_complete_get_info() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
    *
-   * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
+   * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run.
    */
   g_signal_new ("handle-get-info",
     G_TYPE_FROM_INTERFACE (iface),
@@ -451,7 +452,7 @@ xfpm_power_manager_default_init (XfpmPowerManagerIface *iface)
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.Quit">Quit()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_quit_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_quit_sync() for the synchronous, blocking version of this method.
@@ -481,7 +482,7 @@ xfpm_power_manager_call_quit (
  *
  * Finishes an operation started with xfpm_power_manager_call_quit().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_quit_finish (
@@ -510,7 +511,7 @@ _out:
  *
  * See xfpm_power_manager_call_quit() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_quit_sync (
@@ -543,7 +544,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.Restart">Restart()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_restart_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_restart_sync() for the synchronous, blocking version of this method.
@@ -573,7 +574,7 @@ xfpm_power_manager_call_restart (
  *
  * Finishes an operation started with xfpm_power_manager_call_restart().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_restart_finish (
@@ -602,7 +603,7 @@ _out:
  *
  * See xfpm_power_manager_call_restart() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_restart_sync (
@@ -635,7 +636,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.GetConfig">GetConfig()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_get_config_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_get_config_sync() for the synchronous, blocking version of this method.
@@ -666,7 +667,7 @@ xfpm_power_manager_call_get_config (
  *
  * Finishes an operation started with xfpm_power_manager_call_get_config().
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_config_finish (
@@ -698,7 +699,7 @@ _out:
  *
  * See xfpm_power_manager_call_get_config() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_config_sync (
@@ -733,7 +734,7 @@ _out:
  * @user_data: User data to pass to @callback.
  *
  * Asynchronously invokes the <link linkend="gdbus-method-org-xfce-Power-Manager.GetInfo">GetInfo()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_call_get_info_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_call_get_info_sync() for the synchronous, blocking version of this method.
@@ -766,7 +767,7 @@ xfpm_power_manager_call_get_info (
  *
  * Finishes an operation started with xfpm_power_manager_call_get_info()..
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_info_finish (
@@ -804,7 +805,7 @@ _out:
  *
  * See xfpm_power_manager_call_get_info() for the asynchronous version of this method.
  *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
+ * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set..
  */
 gboolean
 xfpm_power_manager_call_get_info_sync (
@@ -846,7 +847,7 @@ _out:
  */
 void
 xfpm_power_manager_complete_quit (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation)
 {
   g_dbus_method_invocation_return_value (invocation,
@@ -864,7 +865,7 @@ xfpm_power_manager_complete_quit (
  */
 void
 xfpm_power_manager_complete_restart (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation)
 {
   g_dbus_method_invocation_return_value (invocation,
@@ -883,7 +884,7 @@ xfpm_power_manager_complete_restart (
  */
 void
 xfpm_power_manager_complete_get_config (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     GVariant *config)
 {
@@ -906,7 +907,7 @@ xfpm_power_manager_complete_get_config (
  */
 void
 xfpm_power_manager_complete_get_info (
-    XfpmPowerManager *object,
+    XfpmPowerManager *object G_GNUC_UNUSED,
     GDBusMethodInvocation *invocation,
     const gchar *name,
     const gchar *version,
@@ -960,17 +961,17 @@ xfpm_power_manager_proxy_finalize (GObject *object)
 }
 
 static void
-xfpm_power_manager_proxy_get_property (GObject      *object,
-  guint         prop_id,
-  GValue       *value,
+xfpm_power_manager_proxy_get_property (GObject      *object G_GNUC_UNUSED,
+  guint         prop_id G_GNUC_UNUSED,
+  GValue       *value G_GNUC_UNUSED,
   GParamSpec   *pspec G_GNUC_UNUSED)
 {
 }
 
 static void
-xfpm_power_manager_proxy_set_property (GObject      *object,
-  guint         prop_id,
-  const GValue *value,
+xfpm_power_manager_proxy_set_property (GObject      *object G_GNUC_UNUSED,
+  guint         prop_id G_GNUC_UNUSED,
+  const GValue *value G_GNUC_UNUSED,
   GParamSpec   *pspec G_GNUC_UNUSED)
 {
 }
@@ -1078,7 +1079,7 @@ xfpm_power_manager_proxy_class_init (XfpmPowerManagerProxyClass *klass)
 }
 
 static void
-xfpm_power_manager_proxy_iface_init (XfpmPowerManagerIface *iface)
+xfpm_power_manager_proxy_iface_init (XfpmPowerManagerIface *iface G_GNUC_UNUSED)
 {
 }
 
@@ -1094,7 +1095,7 @@ xfpm_power_manager_proxy_iface_init (XfpmPowerManagerIface *iface)
  *
  * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-xfce-Power-Manager.top_of_page">org.xfce.Power.Manager</link>. See g_dbus_proxy_new() for more details.
  *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_proxy_new_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_proxy_new_sync() for the synchronous, blocking version of this constructor.
@@ -1184,7 +1185,7 @@ xfpm_power_manager_proxy_new_sync (
  *
  * Like xfpm_power_manager_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
  *
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
+ * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
  * You can then call xfpm_power_manager_proxy_new_for_bus_finish() to get the result of the operation.
  *
  * See xfpm_power_manager_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
@@ -1470,7 +1471,7 @@ out:
 }
 
 static void
-xfpm_power_manager_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
+xfpm_power_manager_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
 {
 }
 
@@ -1531,7 +1532,7 @@ xfpm_power_manager_skeleton_class_init (XfpmPowerManagerSkeletonClass *klass)
 }
 
 static void
-xfpm_power_manager_skeleton_iface_init (XfpmPowerManagerIface *iface)
+xfpm_power_manager_skeleton_iface_init (XfpmPowerManagerIface *iface G_GNUC_UNUSED)
 {
 }
 


=====================================
src/xfce-power-manager-dbus.h
=====================================
@@ -1,8 +1,9 @@
 /*
- * Generated by gdbus-codegen 2.62.4 from org.xfce.Power.Manager.xml. DO NOT EDIT.
+ * This file is generated by gdbus-codegen, do not modify it.
  *
  * The license of this code is the same as for the D-Bus interface description
- * it was derived from.
+ * it was derived from. Note that it links to GLib, so must comply with the
+ * LGPL linking clauses.
  */
 
 #ifndef __XFCE_POWER_MANAGER_DBUS_H__


=====================================
src/xfpm-dpms.h
=====================================
@@ -21,10 +21,6 @@
 #ifndef __XFPM_DPMS_H
 #define __XFPM_DPMS_H
 
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
 #include <glib-object.h>
 
 #include <xfconf/xfconf.h>


=====================================
src/xfpm-kbd-backlight.c
=====================================
@@ -18,6 +18,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>



View it on GitLab: https://salsa.debian.org/xfce-team/desktop/xfce4-power-manager/-/commit/ddcb43d3207031afcedb0f1fafeb9012c256c05f

-- 
View it on GitLab: https://salsa.debian.org/xfce-team/desktop/xfce4-power-manager/-/commit/ddcb43d3207031afcedb0f1fafeb9012c256c05f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-xfce-commits/attachments/20221205/57d20ba8/attachment-0001.htm>


More information about the Pkg-xfce-commits mailing list