Commit dce12926 authored by Miloslav Trmač's avatar Miloslav Trmač

Move polkit_temporary_authorization_new to private header file.

The related new_for_gvariant() is private already, this seems also
intended to be private.  searchco.de doesn't show any external users.

https://bugs.freedesktop.org/show_bug.cgi?id=63573
parent 1df991e3
......@@ -40,6 +40,11 @@ PolkitIdentity *polkit_identity_new_for_gvariant (GVariant *variant, GError **er
PolkitAuthorizationResult *polkit_authorization_result_new_for_gvariant (GVariant *value);
GVariant *polkit_authorization_result_to_gvariant (PolkitAuthorizationResult *authorization_result);
PolkitTemporaryAuthorization *polkit_temporary_authorization_new (const gchar *id,
const gchar *action_id,
PolkitSubject *subject,
guint64 time_obtained,
guint64 time_expires);
PolkitTemporaryAuthorization *polkit_temporary_authorization_new_for_gvariant (GVariant *value,
GError **error);
GVariant *polkit_temporary_authorization_to_gvariant (PolkitTemporaryAuthorization *authorization);
......
......@@ -45,11 +45,6 @@ typedef struct _PolkitTemporaryAuthorization PolkitTemporaryAuthorization;
typedef struct _PolkitTemporaryAuthorizationClass PolkitTemporaryAuthorizationClass;
GType polkit_temporary_authorization_get_type (void) G_GNUC_CONST;
PolkitTemporaryAuthorization *polkit_temporary_authorization_new (const gchar *id,
const gchar *action_id,
PolkitSubject *subject,
guint64 time_obtained,
guint64 time_expires);
const gchar *polkit_temporary_authorization_get_id (PolkitTemporaryAuthorization *authorization);
const gchar *polkit_temporary_authorization_get_action_id (PolkitTemporaryAuthorization *authorization);
PolkitSubject *polkit_temporary_authorization_get_subject (PolkitTemporaryAuthorization *authorization);
......
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