]> www.fi.muni.cz Git - evince.git/commitdiff
s/GTime*/GTime. Not sure why we was using a pointer at all there!
authorMarco Pesenti Gritti <mpg@redhat.com>
Fri, 10 Jun 2005 11:47:15 +0000 (11:47 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Fri, 10 Jun 2005 11:47:15 +0000 (11:47 +0000)
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!

ChangeLog
backend/ev-document-info.h
shell/ev-properties.c

index 22326b8c83b0ff6567ed50faeb2d481846ad299f..90f053bb897fc92ecc0b3c5fc9855ad1c7dfc41c 100644 (file)
--- 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
index 77fecf2e77a93d08cd64d4ebc7c9997955fb290a..3930910fee42ce3ee106ae14bd7691de83b378e6 100644 (file)
@@ -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;
index e2dba3d1cd09cff180198f36a55aabe56d7b61c1..783038416eaf4a0415c2253409f31f8ecee9ecfb 100644 (file)
@@ -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);
        }