<annotation name="org.gtk.EggDBus.Struct.Member" value="s:action_id">
<annotation name="org.gtk.EggDBus.DocString" value="Action Identifier for the claim"/>
</annotation>
-
- <annotation name="org.gtk.EggDBus.Struct.Member" value="a{ss}:attributes">
- <annotation name="org.gtk.EggDBus.DocString" value="Attributes for the claim"/>
- </annotation>
-
</annotation>
<!-- The error domain used for reporting errors -->
</method>
<method name="CheckClaim">
- <arg name="claim" direction="in" type="((sa{sv})sa{ss})">
+ <arg name="claim" direction="in" type="((sa{sv})s)">
<annotation name="org.gtk.EggDBus.StructType" value="AuthorizationClaim"/>
</arg>
<arg name="result" direction="out" type="i">
<annotation name="org.gtk.EggDBus.EnumType" value="AuthorizationResult"/>
</arg>
- <arg name="attributes" direction="out" type="a{ss}"/>
</method>
</interface>
GError **error)
{
_PolkitAuthorizationResult result;
- EggDBusHashMap *result_attributes;
GSimpleAsyncResult *simple;
GAsyncResult *real_res;
if (!_polkit_authority_check_claim_finish (authority->real,
&result,
- &result_attributes,
real_res,
error))
goto out;
- /* TODO: pass these back? */
- if (result_attributes != NULL)
- g_object_unref (result_attributes);
-
out:
g_object_unref (real_res);
return result;
polkit_backend_authority_check_claim_finish (PolkitBackendPendingCall *pending_call,
PolkitAuthorizationResult result)
{
- EggDBusHashMap *attributes;
-
- attributes = egg_dbus_hash_map_new (G_TYPE_STRING, g_free, G_TYPE_STRING, g_free);
-
_polkit_authority_handle_check_claim_finish (_polkit_backend_pending_call_get_method_invocation (pending_call),
- result,
- attributes);
-
- g_object_unref (attributes);
+ result);
g_object_unref (pending_call);
}