aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-state.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ephy-state.c b/lib/ephy-state.c
index 58c2c8d37..3cbcb5020 100644
--- a/lib/ephy-state.c
+++ b/lib/ephy-state.c
@@ -30,6 +30,7 @@
#include <gtk/gtkpaned.h>
#define STATES_FILE "states.xml"
+#define EPHY_STATES_XML_VERSION "1.0"
enum
{
@@ -46,8 +47,6 @@ enum
static EphyNode *states = NULL;
static EphyNodeDb *states_db = NULL;
-#define EPHY_STATES_XML_VERSION "0.1"
-
static void
ephy_states_load (void)
{
@@ -162,7 +161,7 @@ ensure_states (void)
{
if (states == NULL)
{
- states_db = ephy_node_db_new ("EphyStates");
+ states_db = ephy_node_db_new (EPHY_NODE_DB_STATES);
states = ephy_node_new_with_id (states_db, STATES_NODE_ID);
ephy_states_load ();
}