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 /libslab/bookmark-agent.h | |
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 'libslab/bookmark-agent.h')
-rw-r--r-- | libslab/bookmark-agent.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libslab/bookmark-agent.h b/libslab/bookmark-agent.h index 077bbc72..d33db808 100644 --- a/libslab/bookmark-agent.h +++ b/libslab/bookmark-agent.h @@ -22,11 +22,10 @@ #define __BOOKMARK_AGENT_H__ #include <time.h> +#include <glib.h> #include <glib-object.h> -#ifdef __cplusplus -extern "C" { -#endif +G_BEGIN_DECLS #define BOOKMARK_AGENT_TYPE (bookmark_agent_get_type ()) #define BOOKMARK_AGENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BOOKMARK_AGENT_TYPE, BookmarkAgent)) @@ -87,8 +86,6 @@ void bookmark_agent_purge_items (BookmarkAgent *this); void bookmark_item_free (BookmarkItem *item); -#ifdef __cplusplus -} -#endif +G_END_DECLS -#endif +#endif /* __BOOKMARK_AGENT_H__ */ |