[gimp] plug-ins: use g_message, not gimp_message in file-pdf-load
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: use g_message, not gimp_message in file-pdf-load
- Date: Wed, 7 Dec 2011 18:10:18 +0000 (UTC)
commit e16de744a556848b2264f743826db4113367fd1d
Author: Michael Natterer <mitch gimp org>
Date: Wed Dec 7 19:09:31 2011 +0100
plug-ins: use g_message, not gimp_message in file-pdf-load
Also, remove the newline and s/pdf/PDF/.
plug-ins/common/file-pdf-load.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c
index 25334cf..5495599 100644
--- a/plug-ins/common/file-pdf-load.c
+++ b/plug-ins/common/file-pdf-load.c
@@ -1102,10 +1102,10 @@ load_dialog (PopplerDocument *doc,
n_pages = poppler_document_get_n_pages (doc);
if (n_pages <= 0)
- {
- gimp_message (_("Error getting number of pages from the given pdf file\n"));
- return GIMP_PDB_EXECUTION_ERROR;
- }
+ {
+ g_message (_("Error getting number of pages from the given PDF file."));
+ return GIMP_PDB_EXECUTION_ERROR;
+ }
gimp_page_selector_set_n_pages (GIMP_PAGE_SELECTOR (selector), n_pages);
gimp_page_selector_set_target (GIMP_PAGE_SELECTOR (selector),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]