diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2005-06-10 11:47:15 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-06-10 11:47:15 (GMT) |
commit | f79d6e977948ded983460e2756fe6fc628719305 (patch) | |
tree | 05fb72c98035d90b0f077e86ab389a2a6a31f7b7 | |
parent | ca4ff0f0cd61a1cafa986b9bb6d16db5ccb7a8b5 (diff) |
s/GTime*/GTime. Not sure why we was using a pointer at all there!
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!
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | backend/ev-document-info.h | 4 | ||||
-rw-r--r-- | shell/ev-properties.c | 4 |
3 files changed, 12 insertions, 4 deletions
@@ -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); } |