diff options
author | rbuj <[email protected]> | 2020-11-25 15:16:24 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-04 22:16:45 +0100 |
commit | 05b19376eab0550595c1f27647d028074c8f739a (patch) | |
tree | 91f8f9e635a65f94b26f2c1c3b8bd69204e19ff6 /libwindow-settings | |
parent | ff32e170961fa1999f802c844ead5d962dfec505 (diff) | |
download | mate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.bz2 mate-control-center-05b19376eab0550595c1f27647d028074c8f739a.tar.xz |
Use G_BEGIN_DECLS/G_END_DECLS macros
Diffstat (limited to 'libwindow-settings')
-rw-r--r-- | libwindow-settings/mate-window-manager.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libwindow-settings/mate-window-manager.h b/libwindow-settings/mate-window-manager.h index 6abc2b96..0bc2fc24 100644 --- a/libwindow-settings/mate-window-manager.h +++ b/libwindow-settings/mate-window-manager.h @@ -26,8 +26,8 @@ #ifndef MATE_WINDOW_MANAGER_H #define MATE_WINDOW_MANAGER_H +#include <glib.h> #include <glib-object.h> - #include <libmate-desktop/mate-desktop-item.h> /* Increment if backward-incompatible changes are made, so we get a clean @@ -87,9 +87,7 @@ typedef struct } MateWMSettings; -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define MATE_WINDOW_MANAGER(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, mate_window_manager_get_type (), MateWindowManager) #define MATE_WINDOW_MANAGER_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, mate_window_manager_get_type (), MateWindowManagerClass) @@ -168,8 +166,6 @@ void mate_window_manager_get_double_click_actions (MateWindowManager MateWMSettings *mate_wm_settings_copy (MateWMSettings *settings); void mate_wm_settings_free (MateWMSettings *settings); -#ifdef __cplusplus -} -#endif +G_END_DECLS #endif /* MATE_WINDOW_MANAGER_H */ |