Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--backend/ev-document-info.h4
-rw-r--r--shell/ev-properties.c4
3 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 22326b8..90f053b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-06-10 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * backend/ev-document-info.h:
+ * shell/ev-properties.c: (ev_properties_new):
+
+ s/GTime*/GTime. Not sure why we was using a pointer
+ at all there!
+
Wed Jun 8 01:04:22 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-sidebar-thumbnails.c: Use a GtkIconView in certain
diff --git a/backend/ev-document-info.h b/backend/ev-document-info.h
index 77fecf2..3930910 100644
--- a/backend/ev-document-info.h
+++ b/backend/ev-document-info.h
@@ -104,8 +104,8 @@ struct _EvDocumentInfo
char *producer;
char *linearized;
char *security;
- GTime *creation_date;
- GTime *modified_date;
+ GTime creation_date;
+ GTime modified_date;
EvDocumentLayout layout;
EvDocumentMode mode;
guint ui_hints;
diff --git a/shell/ev-properties.c b/shell/ev-properties.c
index e2dba3d..7830384 100644
--- a/shell/ev-properties.c
+++ b/shell/ev-properties.c
@@ -152,12 +152,12 @@ ev_properties_new (const EvDocumentInfo *info, GtkTreeModel *fonts)
set_property (xml, CREATOR_PROPERTY, info->creator);
}
if (info->fields_mask & EV_DOCUMENT_INFO_CREATION_DATE) {
- text = ev_properties_format_date ((GTime) info->creation_date);
+ text = ev_properties_format_date (info->creation_date);
set_property (xml, CREATION_DATE_PROPERTY, text);
g_free (text);
}
if (info->fields_mask & EV_DOCUMENT_INFO_MOD_DATE) {
- text = ev_properties_format_date ((GTime) info->modified_date);
+ text = ev_properties_format_date (info->modified_date);
set_property (xml, MOD_DATE_PROPERTY, text);
g_free (text);
}