[evince] Mark un-namespaced define as private
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Mark un-namespaced define as private
- Date: Mon, 14 Jan 2013 16:39:52 +0000 (UTC)
commit 00c4a358b1d1689b0e14eb83eebd2e9323d68a7e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jan 7 00:05:07 2013 +0100
Mark un-namespaced define as private
https://bugzilla.gnome.org/show_bug.cgi?id=691354
.../libdocument/libevdocument-sections.txt | 1 -
libdocument/ev-document-info.h | 10 +++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/help/reference/libdocument/libevdocument-sections.txt b/help/reference/libdocument/libevdocument-sections.txt
index 35fdfca..7c429a7 100644
--- a/help/reference/libdocument/libevdocument-sections.txt
+++ b/help/reference/libdocument/libevdocument-sections.txt
@@ -763,7 +763,6 @@ EvDocumentLicense
EvDocumentLayout
EvDocumentMode
EvDocumentUIHints
-PERMISSIONS_FULL
EvDocumentPermissions
EvDocumentInfoFields
ev_document_info_copy
diff --git a/libdocument/ev-document-info.h b/libdocument/ev-document-info.h
index 0f55d21..5350861 100644
--- a/libdocument/ev-document-info.h
+++ b/libdocument/ev-document-info.h
@@ -67,10 +67,10 @@ typedef enum
} EvDocumentUIHints;
/* This define is needed because glib-mkenums chokes with multiple lines */
-#define PERMISSIONS_FULL (EV_DOCUMENT_PERMISSIONS_OK_TO_PRINT \
- | EV_DOCUMENT_PERMISSIONS_OK_TO_MODIFY \
- | EV_DOCUMENT_PERMISSIONS_OK_TO_COPY \
- | EV_DOCUMENT_PERMISSIONS_OK_TO_ADD_NOTES)
+#define _PERMISSIONS_FULL (EV_DOCUMENT_PERMISSIONS_OK_TO_PRINT \
+ | EV_DOCUMENT_PERMISSIONS_OK_TO_MODIFY \
+ | EV_DOCUMENT_PERMISSIONS_OK_TO_COPY \
+ | EV_DOCUMENT_PERMISSIONS_OK_TO_ADD_NOTES)
typedef enum
{
@@ -78,7 +78,7 @@ typedef enum
EV_DOCUMENT_PERMISSIONS_OK_TO_MODIFY = 1 << 1,
EV_DOCUMENT_PERMISSIONS_OK_TO_COPY = 1 << 2,
EV_DOCUMENT_PERMISSIONS_OK_TO_ADD_NOTES = 1 << 3,
- EV_DOCUMENT_PERMISSIONS_FULL = PERMISSIONS_FULL
+ EV_DOCUMENT_PERMISSIONS_FULL = _PERMISSIONS_FULL
} EvDocumentPermissions;
typedef enum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]