[evince] Remove some trailing commas from enums.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Remove some trailing commas from enums.
- Date: Tue, 29 Apr 2014 16:22:27 +0000 (UTC)
commit c7f3a8225c028ce779400b6e7db180bc07678652
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Apr 29 14:01:27 2014 +0200
Remove some trailing commas from enums.
This is helpful for people using the -pedantic option with g++.
libdocument/ev-document-info.h | 2 +-
libview/ev-document-model.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libdocument/ev-document-info.h b/libdocument/ev-document-info.h
index 5350861..586bf28 100644
--- a/libdocument/ev-document-info.h
+++ b/libdocument/ev-document-info.h
@@ -100,7 +100,7 @@ typedef enum
EV_DOCUMENT_INFO_N_PAGES = 1 << 14,
EV_DOCUMENT_INFO_SECURITY = 1 << 15,
EV_DOCUMENT_INFO_PAPER_SIZE = 1 << 16,
- EV_DOCUMENT_INFO_LICENSE = 1 << 17,
+ EV_DOCUMENT_INFO_LICENSE = 1 << 17
} EvDocumentInfoFields;
diff --git a/libview/ev-document-model.h b/libview/ev-document-model.h
index 37257ab..a0085a7 100644
--- a/libview/ev-document-model.h
+++ b/libview/ev-document-model.h
@@ -49,13 +49,13 @@ typedef enum {
EV_SIZING_BEST_FIT = EV_SIZING_FIT_PAGE, /* Deprecated */
EV_SIZING_FIT_WIDTH,
EV_SIZING_FREE,
- EV_SIZING_AUTOMATIC,
+ EV_SIZING_AUTOMATIC
} EvSizingMode;
typedef enum {
EV_PAGE_LAYOUT_SINGLE,
EV_PAGE_LAYOUT_DUAL,
- EV_PAGE_LAYOUT_AUTOMATIC,
+ EV_PAGE_LAYOUT_AUTOMATIC
} EvPageLayout;
typedef struct _EvDocumentModel EvDocumentModel;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]