[gnome-documents] PdfLoader: Fix a deprecation warning
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] PdfLoader: Fix a deprecation warning
- Date: Fri, 16 Dec 2011 13:45:11 +0000 (UTC)
commit e7f67392e10ccc9e3c907e1ec65ba7a0571d057b
Author: Claudio Saavedra <csaavedra igalia com>
Date: Fri Dec 16 15:44:20 2011 +0200
PdfLoader: Fix a deprecation warning
src/lib/gd-pdf-loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/gd-pdf-loader.c b/src/lib/gd-pdf-loader.c
index 37fc6e1..651ded7 100644
--- a/src/lib/gd-pdf-loader.c
+++ b/src/lib/gd-pdf-loader.c
@@ -410,7 +410,7 @@ pdf_load_job_from_google_documents (PdfLoadJob *job)
job->original_file_mtime = gdata_entry_get_updated (job->gdata_entry);
tmp_name = g_strdup_printf ("gnome-documents-%u.pdf",
- g_str_hash (gdata_documents_entry_get_document_id (GDATA_DOCUMENTS_ENTRY (job->gdata_entry))));
+ g_str_hash (gdata_documents_entry_get_resource_id (GDATA_DOCUMENTS_ENTRY (job->gdata_entry))));
tmp_path = g_build_filename (g_get_user_cache_dir (), "gnome-documents", NULL);
job->pdf_path = pdf_path =
g_build_filename (tmp_path, tmp_name, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]