From c9b321a448dc57d37258436e14f237d052395489 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sun, 8 Jun 2014 14:03:17 +0200 Subject: [PATCH] [glib] doc: Move PopplerError to it's own section https://bugs.freedesktop.org/show_bug.cgi?id=79837 --- glib/poppler.cc | 15 +++++++++++++++ glib/reference/poppler-docs.sgml | 1 + glib/reference/poppler-sections.txt | 18 +++++++++++++----- 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/glib/poppler.cc b/glib/poppler.cc index 09ec9f4..abb634f 100644 --- a/glib/poppler.cc +++ b/glib/poppler.cc @@ -23,6 +23,21 @@ #include #endif +/** + * SECTION: poppler-errors + * @title: Error handling + * @short_description: Error domain and codes + * + */ + +/** + * POPPLER_ERROR: + * + * Error domain for poppler operations. Errors in this domain will + * be from the #PopplerError enumeration. See #GError for information + * on error domains. + */ + GQuark poppler_error_quark (void) { static GQuark q = 0; diff --git a/glib/reference/poppler-docs.sgml b/glib/reference/poppler-docs.sgml index 9fdad90..336e474 100644 --- a/glib/reference/poppler-docs.sgml +++ b/glib/reference/poppler-docs.sgml @@ -25,6 +25,7 @@ + diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt index eccd596..c49b593 100644 --- a/glib/reference/poppler-sections.txt +++ b/glib/reference/poppler-sections.txt @@ -342,17 +342,12 @@ poppler_form_text_type_get_type
poppler -POPPLER_ERROR -PopplerError PopplerOrientation -POPPLER_TYPE_ERROR POPPLER_TYPE_ORIENTATION -poppler_error_get_type -poppler_error_quark poppler_orientation_get_type
@@ -751,3 +746,16 @@ POPPLER_TYPE_BACKEND poppler_backend_get_type + +
+poppler-errors +POPPLER_ERROR +PopplerError + + +POPPLER_TYPE_ERROR + + +poppler_error_get_type +poppler_error_quark +
-- 1.8.3.2