From 2e273960c5830c421a96addff112ef9576c79b7c Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Fri, 18 Oct 2013 01:12:16 +0200 Subject: [PATCH] ndef: Simplify the exported MIME type D-Bus type further And make it less confusable with the MIMEType property. --- doc/tag-api.txt | 2 +- src/ndef.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tag-api.txt b/doc/tag-api.txt index 2fbde60..d11bd81 100644 --- a/doc/tag-api.txt +++ b/doc/tag-api.txt @@ -87,7 +87,7 @@ Properties string Type [readonly] Possible values are "SmartPoster", "Text", "URI", "HandoverRequest", "HandoverSelect", "HandoverCarrier", - "AAR" for Android Application Record and "MIMEType" for + "AAR" for Android Application Record and "MIME" for RFC 2046 MIME types. string Encoding [readonly] diff --git a/src/ndef.c b/src/ndef.c index 5c241c8..c299f92 100644 --- a/src/ndef.c +++ b/src/ndef.c @@ -488,7 +488,7 @@ static void append_record(struct near_ndef_record *record, break; case RECORD_TYPE_MIME_TYPE: - type = "MIMEType"; + type = "MIME"; near_dbus_dict_append_basic(dict, "Type", DBUS_TYPE_STRING, &type); append_mime_payload(record->mime, dict); -- 2.7.4