diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-02-05 13:08:29 (GMT) |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-02-05 13:08:29 (GMT) |
commit | ef262303183a13c3d166dd4873e74a78b38cee28 (patch) | |
tree | 13937b704a571ecae9abe61a95c603499c2e9e84 /shell | |
parent | ae999b6c8ddef40b372d3387b4fe0932bea89687 (diff) |
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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-print-operation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/ev-print-operation.c b/shell/ev-print-operation.c index 44ce674..8498dce 100644 --- a/shell/ev-print-operation.c +++ b/shell/ev-print-operation.c @@ -1004,10 +1004,10 @@ ev_print_operation_export_print_dialog_response_cb (GtkDialog *dial if (!gtk_printer_accepts_ps (export->printer)) { gtk_widget_destroy (GTK_WIDGET (dialog)); - g_set_error (&export->error, - GTK_PRINT_ERROR, - GTK_PRINT_ERROR_GENERAL, - "%s", _("Printing is not supported on this printer.")); + g_set_error_literal (&export->error, + GTK_PRINT_ERROR, + GTK_PRINT_ERROR_GENERAL, + _("Printing is not supported on this printer.")); g_signal_emit (op, signals[DONE], 0, GTK_PRINT_OPERATION_RESULT_ERROR); return; |