[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-63-g1dd82b08e

paul at claws-mail.org paul at claws-mail.org
Mon Aug 23 09:33:47 UTC 2021


The branch, gtk3 has been updated
       via  1dd82b08e37b6bea5b72bfac9a16ce996facb04a (commit)
      from  7cb0bfdfbac5f1e15c0b6dc1e2199c06c80e9244 (commit)

Summary of changes:
 src/plugins/pdf_viewer/poppler_viewer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


- Log -----------------------------------------------------------------
commit 1dd82b08e37b6bea5b72bfac9a16ce996facb04a
Author: paul <paul at claws-mail.org>
Date:   Mon Aug 23 10:33:43 2021 +0100

    replace deprecated GTime

diff --git a/src/plugins/pdf_viewer/poppler_viewer.c b/src/plugins/pdf_viewer/poppler_viewer.c
index c6682e9b9..100d7b086 100644
--- a/src/plugins/pdf_viewer/poppler_viewer.c
+++ b/src/plugins/pdf_viewer/poppler_viewer.c
@@ -59,7 +59,7 @@ static gboolean	pdf_viewer_text_search(MimeViewer *_viewer, gboolean backward,
 static void pdf_viewer_render_selection(PdfViewer *viewer, PopplerRectangle *rect, PageResult *page_results);
 static void pdf_viewer_render_page(PopplerPage *page, GtkWidget *view, double width, double height, double zoom, gint rotate);
 
-static char * pdf_viewer_get_document_format_data(GTime utime);
+static char * pdf_viewer_get_document_format_data(GDateTime *utime);
 static void pdf_viewer_get_document_index(PdfViewer *viewer, PopplerIndexIter *index_iter, GtkTreeIter *parentiter);
 static void pdf_viewer_index_row_activated(GtkTreeView		*tree_view,
 				   	GtkTreePath		*path,
@@ -632,7 +632,7 @@ static void pdf_viewer_set_index_button_sensitive(PdfViewer *viewer)
     viewer->pdf_index = NULL;
 }
 
-static char * pdf_viewer_get_document_format_data(GTime utime) 
+static char * pdf_viewer_get_document_format_data(GDateTime *utime) 
 {
 	time_t time = (time_t) utime;
 	struct tm t;
@@ -674,7 +674,7 @@ static GtkGrid * pdf_viewer_fill_info_table(PdfViewer *viewer)
 	gchar *tmp;
 	gint row = 0;
 
-	GTime creation_date, mod_date;
+	GDateTime *creation_date, *mod_date;
 
 	PopplerPageLayout layout;
 	PopplerPageMode mode;

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list