From ef262303183a13c3d166dd4873e74a78b38cee28 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 05 Feb 2009 13:08:29 +0000 Subject: Use g_set_error_literal now that we depend on glib 2.18. * backend/comics/comics-document.c: (comics_document_load): * backend/djvu/djvu-document.c: (djvu_document_load): * backend/dvi/dvi-document.c: (dvi_document_load): * backend/impress/impress-document.c: (impress_document_load): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-factory.c: (get_document_from_uri), (ev_document_factory_get_document): * shell/ev-print-operation.c: (ev_print_operation_export_print_dialog_response_cb): Use g_set_error_literal now that we depend on glib 2.18. svn path=/trunk/; revision=3419 --- (limited to 'backend/djvu') diff --git a/backend/djvu/djvu-document.c b/backend/djvu/djvu-document.c index 0c99668..31fbd94 100644 --- a/backend/djvu/djvu-document.c +++ b/backend/djvu/djvu-document.c @@ -241,11 +241,11 @@ djvu_document_load (EvDocument *document, g_free (filename); if (missing_files) { - g_set_error (error, - G_FILE_ERROR, - G_FILE_ERROR_EXIST, - _("The document is composed by several files. " - "One or more of such files cannot be accessed.")); + g_set_error_literal (error, + G_FILE_ERROR, + G_FILE_ERROR_EXIST, + _("The document is composed by several files. " + "One or more of such files cannot be accessed.")); return FALSE; } -- cgit v0.9.1