aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-node.h
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-16 04:08:38 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-16 04:08:38 +0800
commitda190dddf2ce2f71b2fe0a32e21d93347b6e7abc (patch)
tree83d9a7f70af865da24223ab1cf03e3ea1e5c46b2 /lib/ephy-node.h
parent1e95d209e75a03c8340726a8c088d4d6abfed752 (diff)
downloadgsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.tar
gsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.tar.gz
gsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.tar.bz2
gsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.tar.lz
gsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.tar.xz
gsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.tar.zst
gsoc2013-epiphany-da190dddf2ce2f71b2fe0a32e21d93347b6e7abc.zip
Add boxed type for EphyNode.
2005-01-15 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node.c: (ephy_node_get_type): * lib/ephy-node.h: Add boxed type for EphyNode.
Diffstat (limited to 'lib/ephy-node.h')
-rw-r--r--lib/ephy-node.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ephy-node.h b/lib/ephy-node.h
index 34ac0d2ec..7ac63b8eb 100644
--- a/lib/ephy-node.h
+++ b/lib/ephy-node.h
@@ -28,8 +28,7 @@
G_BEGIN_DECLS
-/* convenience macro to check node validity */
-
+#define EPHY_TYPE_NODE (ephy_node_get_type ())
#define EPHY_IS_NODE(o) (o != NULL)
typedef struct _EphyNode EphyNode;
@@ -49,6 +48,8 @@ typedef enum
typedef void (*EphyNodeCallback) (EphyNode *node, ...);
+GType ephy_node_get_type (void) G_GNUC_CONST;
+
EphyNode *ephy_node_new (EphyNodeDb *db);
EphyNode *ephy_node_new_with_id (EphyNodeDb *db,