aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-01-21 03:04:31 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-01-21 03:04:31 +0800
commit0611ef2fe780b5d8b3abea917921ceca2fdf544a (patch)
tree7849cf5b7d520a9dd7cb108952a3b78b10ab7585 /src/bookmarks/ephy-bookmarks.c
parent7158c7b4c0c51189580126c4966e5868c920f8d7 (diff)
downloadgsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.tar
gsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.tar.gz
gsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.tar.bz2
gsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.tar.lz
gsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.tar.xz
gsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.tar.zst
gsoc2013-epiphany-0611ef2fe780b5d8b3abea917921ceca2fdf544a.zip
Make ephy-bookmarks.h's enum a named enum. Auto-generate types for
2005-01-20 Jean-François Rameau <jframeau@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): Make ephy-bookmarks.h's enum a named enum. Auto-generate types for ephy-bookmarks.h's enum. Make sure our enum type is registered.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 5fa33c340..9d24f7d76 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -22,6 +22,7 @@
#include "config.h"
#include "ephy-bookmarks.h"
+#include "ephy-bookmarks-type-builtins.h"
#include "ephy-file-helpers.h"
#include "ephy-embed-shell.h"
#include "ephy-shell.h"
@@ -138,6 +139,10 @@ ephy_bookmarks_get_type (void)
0, /* n_preallocs */
(GInstanceInitFunc) ephy_bookmarks_init
};
+ volatile GType flags_type; /* work around gcc's optimiser */
+
+ /* make sure the flags type is known */
+ flags_type = EPHY_TYPE_BOOKMARK_PROPERTY;
type = g_type_register_static (G_TYPE_OBJECT,
"EphyBookmarks",