]> www.fi.muni.cz Git - evince.git/commitdiff
use more informative error messages when emitting loading-failed. Kill GPDF_0_105
authorMartin Kretzschmar <mkretzschmar@src.gnome.org>
Fri, 18 Jul 2003 20:35:47 +0000 (20:35 +0000)
committerMartin Kretzschmar <mkretzschmar@src.gnome.org>
Fri, 18 Jul 2003 20:35:47 +0000 (20:35 +0000)
* xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use
more informative error messages when emitting loading-failed. Kill
gotos :-).
Whitespace cleanups.

* xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill
redundancy in error message; unset PDF document.

* xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline

pdf/xpdf/eog-hig-dialog.c

index 121e84426952699e113be399e048d75273605376..f6b95b3d61642149a2d7a8a9eebe372ae95f17ed 100644 (file)
@@ -65,7 +65,7 @@ eog_hig_dialog_new (const char *stock_id, const char *header, const char *body,
 
        if (body != NULL) {
                g_snprintf (message, message_len,
-                           "<span weight=\"bold\" size=\"larger\">%s</span>\n\n%s\n", header, body);
+                           "<span weight=\"bold\" size=\"larger\">%s</span>\n\n%s", header, body);
        }
        else {
                g_snprintf (message, message_len,