Commit 9bd3cbe0 authored by David Zeuthen's avatar David Zeuthen
Browse files

move POLKIT_GNUC_DEPRECATED to a separate line so gtk-doc is happy

Also document this symbol
parent 5863ec81
......@@ -158,13 +158,15 @@ void polkit_context_io_func (PolKitContext *pk_context,
PolKitPolicyCache *polkit_context_get_policy_cache (PolKitContext *pk_context);
POLKIT_GNUC_DEPRECATED PolKitResult polkit_context_can_session_do_action (PolKitContext *pk_context,
PolKitAction *action,
PolKitSession *session);
POLKIT_GNUC_DEPRECATED PolKitResult polkit_context_can_caller_do_action (PolKitContext *pk_context,
PolKitAction *action,
PolKitCaller *caller);
POLKIT_GNUC_DEPRECATED
PolKitResult polkit_context_can_session_do_action (PolKitContext *pk_context,
PolKitAction *action,
PolKitSession *session);
POLKIT_GNUC_DEPRECATED
PolKitResult polkit_context_can_caller_do_action (PolKitContext *pk_context,
PolKitAction *action,
PolKitCaller *caller);
PolKitConfig *polkit_context_get_config (PolKitContext *pk_context, PolKitError **error);
......
......@@ -37,13 +37,13 @@
/**
* POLKIT_BEGIN_DECLS:
*
* C++ include header guard
* C++ include header guard.
*/
# define POLKIT_BEGIN_DECLS
/**
* POLKIT_END_DECLS:
*
* C++ include header guard
* C++ include header guard.
*/
# define POLKIT_END_DECLS
#endif
......@@ -52,6 +52,11 @@
#define POLKIT_GNUC_DEPRECATED \
__attribute__((__deprecated__))
#else
/**
* POLKIT_GNUC_DEPRECATED:
*
* Used in front of deprecated functions.
*/
#define POLKIT_GNUC_DEPRECATED
#endif /* __GNUC__ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment