summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-10-18 01:12:16 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2013-10-18 01:12:16 +0200
commit2e273960c5830c421a96addff112ef9576c79b7c (patch)
tree47c46bcb7fb9cc47165120973ba433b138dbac62
parent0d5ba1dd06ca27ad8a68785277a954b881c2ab7d (diff)
downloadneard-2e273960c5830c421a96addff112ef9576c79b7c.tar.gz
neard-2e273960c5830c421a96addff112ef9576c79b7c.tar.bz2
neard-2e273960c5830c421a96addff112ef9576c79b7c.zip
ndef: Simplify the exported MIME type D-Bus type further
And make it less confusable with the MIMEType property.
-rw-r--r--doc/tag-api.txt2
-rw-r--r--src/ndef.c2
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);