From f79d6e977948ded983460e2756fe6fc628719305 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 10 Jun 2005 11:47:15 +0000 Subject: [PATCH] s/GTime*/GTime. Not sure why we was using a pointer at all there! 2005-06-10 Marco Pesenti Gritti * 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! --- ChangeLog | 8 ++++++++ backend/ev-document-info.h | 4 ++-- shell/ev-properties.c | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 22326b8c..90f053bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-06-10 Marco Pesenti Gritti + + * 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 * 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 77fecf2e..3930910f 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 e2dba3d1..78303841 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); } -- 2.43.5