[tracker] libtracker-extract: Improve some comments
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-extract: Improve some comments
- Date: Mon, 14 Mar 2011 11:54:11 +0000 (UTC)
commit a465347791c1304bb8b77562ea91fff75972106a
Author: Aleksander Morgado <aleksander lanedo com>
Date: Mon Mar 14 12:40:04 2011 +0100
libtracker-extract: Improve some comments
src/libtracker-extract/tracker-exif.c | 18 +++++++++---------
src/libtracker-extract/tracker-iptc.c | 8 ++++----
2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/src/libtracker-extract/tracker-exif.c b/src/libtracker-extract/tracker-exif.c
index 0374ff0..a0c7674 100644
--- a/src/libtracker-extract/tracker-exif.c
+++ b/src/libtracker-extract/tracker-exif.c
@@ -49,7 +49,7 @@
**/
static gchar *
-get_date (ExifData *exif,
+get_date (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -59,7 +59,7 @@ get_date (ExifData *exif,
exif_entry_get_value (entry, buf, 1024);
/* From: ex; date "2007:04:15 15:35:58"
- * To : ex. "2007-04-15T17:35:58+0200 where +0200 is localtime */
+ * To : ex. "2007-04-15T17:35:58+0200 where +0200 is offset w.r.t gmt */
return tracker_date_format_to_iso8601 (buf, EXIF_DATE_FORMAT);
}
@@ -67,7 +67,7 @@ get_date (ExifData *exif,
}
static gchar *
-get_focal_length (ExifData *exif,
+get_focal_length (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -117,7 +117,7 @@ get_flash (ExifData *exif,
}
static gchar *
-get_fnumber (ExifData *exif,
+get_fnumber (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -147,7 +147,7 @@ get_fnumber (ExifData *exif,
}
static gchar *
-get_exposure_time (ExifData *exif,
+get_exposure_time (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -183,7 +183,7 @@ get_exposure_time (ExifData *exif,
}
static gchar *
-get_orientation (ExifData *exif,
+get_orientation (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -255,7 +255,7 @@ get_metering_mode (ExifData *exif,
}
static gchar *
-get_white_balance (ExifData *exif,
+get_white_balance (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -280,7 +280,7 @@ get_white_balance (ExifData *exif,
static gint
-get_int (ExifData *exif,
+get_int (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
@@ -297,7 +297,7 @@ get_int (ExifData *exif,
static gchar *
-get_value (ExifData *exif,
+get_value (ExifData *exif,
ExifTag tag)
{
ExifEntry *entry = exif_data_get_entry (exif, tag);
diff --git a/src/libtracker-extract/tracker-iptc.c b/src/libtracker-extract/tracker-iptc.c
index 03d852b..16b95ec 100644
--- a/src/libtracker-extract/tracker-iptc.c
+++ b/src/libtracker-extract/tracker-iptc.c
@@ -48,7 +48,7 @@
*
* The full IIM specification includes a complex data structure and a
* set of metadata definitions.
- *
+ *
* Although IIM was intended for use with all types of news items â??
* including simple text articles â?? a subset found broad worldwide
* acceptance as the standard embedded metadata used by news and
@@ -80,7 +80,7 @@ fix_iptc_orientation (const gchar *orientation)
}
static void
-foreach_dataset (IptcDataSet *dataset,
+foreach_dataset (IptcDataSet *dataset,
void *user_data)
{
TrackerIptcData *data = user_data;
@@ -102,8 +102,8 @@ foreach_dataset (IptcDataSet *dataset,
case IPTC_TAG_DATE_CREATED:
if (!data->date_created) {
iptc_dataset_get_as_str (dataset, mbuffer, 1024);
- /* From: ex; date "2007:04:15 15:35:58"
- * To : ex. "2007-04-15T17:35:58+0200 where +0200 is localtime */
+ /* From: ex; date "2007 04 15"
+ * To : ex. "2007-04-15T00:00:00+0200 where +0200 is offset w.r.t gmt */
data->date_created = tracker_date_format_to_iso8601 (mbuffer, IPTC_DATE_FORMAT);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]