diff options
author | Wu Xiaotian <[email protected]> | 2020-06-28 20:50:03 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-10-07 19:54:38 +0200 |
commit | 672df567a7d2ae499c4b707c102263932a64db3e (patch) | |
tree | bd699a6b48cbbb0be574a072e5f14bbc6ca4a5ef /plugins/xrandr/msd-xrandr-manager.h | |
parent | 8a981c1ecbcc1bb9c6e0200d4f7fced7b8f59521 (diff) | |
download | mate-settings-daemon-672df567a7d2ae499c4b707c102263932a64db3e.tar.bz2 mate-settings-daemon-672df567a7d2ae499c4b707c102263932a64db3e.tar.xz |
xrandr: migrate from dbus-glib to GDBus
Diffstat (limited to 'plugins/xrandr/msd-xrandr-manager.h')
-rw-r--r-- | plugins/xrandr/msd-xrandr-manager.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/xrandr/msd-xrandr-manager.h b/plugins/xrandr/msd-xrandr-manager.h index 2496d8e..70aac7a 100644 --- a/plugins/xrandr/msd-xrandr-manager.h +++ b/plugins/xrandr/msd-xrandr-manager.h @@ -24,9 +24,7 @@ #include <glib-object.h> -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define MSD_TYPE_XRANDR_MANAGER (msd_xrandr_manager_get_type ()) #define MSD_XRANDR_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), MSD_TYPE_XRANDR_MANAGER, MsdXrandrManager)) @@ -55,8 +53,6 @@ gboolean msd_xrandr_manager_start (MsdXrandrManager GError **error); void msd_xrandr_manager_stop (MsdXrandrManager *manager); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* __MSD_XRANDR_MANAGER_H */ |