aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-state.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-22 18:08:34 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-22 18:08:34 +0800
commit2c24fc18e03eb6c7002f97144a031959ba2c1195 (patch)
tree3b4aa952b162f269f185ef727d4a34c4b08da74d /lib/ephy-state.c
parent78b632a87b98b12595a9c82c9ea1d173b45971df (diff)
downloadgsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.tar
gsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.tar.gz
gsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.tar.bz2
gsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.tar.lz
gsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.tar.xz
gsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.tar.zst
gsoc2013-epiphany-2c24fc18e03eb6c7002f97144a031959ba2c1195.zip
broken pipe pfff
Diffstat (limited to 'lib/ephy-state.c')
-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 ();
}