[epiphany/mcatanzaro/visit-types: 4/4] Remove unused EphyHistoryPageVisitTypes



commit 6fd4307a5edde652ba774bcb6a5ab5e6612b8736
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sun Jan 13 18:17:31 2019 -0600

    Remove unused EphyHistoryPageVisitTypes

 lib/history/ephy-history-types.h | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)
---
diff --git a/lib/history/ephy-history-types.h b/lib/history/ephy-history-types.h
index b2bca67ac..c97a9593a 100644
--- a/lib/history/ephy-history-types.h
+++ b/lib/history/ephy-history-types.h
@@ -24,20 +24,13 @@
 
 G_BEGIN_DECLS
 
-/*
- * Page transition types heavily inspired by those used in Chromium. See:
- * src/chrome/common/page_transition_types.h in the Chromium source code.
- */
+
 typedef enum {
-  EPHY_PAGE_VISIT_NONE,
+  EPHY_PAGE_VISIT_NONE = 0,
   EPHY_PAGE_VISIT_LINK,
   EPHY_PAGE_VISIT_TYPED,
-  EPHY_PAGE_VISIT_MANUAL_SUBFRAME,
-  EPHY_PAGE_VISIT_AUTO_SUBFRAME,
-  EPHY_PAGE_VISIT_STARTUP,
-  EPHY_PAGE_VISIT_FORM_SUBMISSION,
-  EPHY_PAGE_VISIT_FORM_RELOAD,
-  EPHY_PAGE_VISIT_BOOKMARK,
+  /* We jump to 8 to avoid changing the visits table format. */
+  EPHY_PAGE_VISIT_BOOKMARK = 8,
   EPHY_PAGE_VISIT_HOMEPAGE
 } EphyHistoryPageVisitType;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]