diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2004-07-23 10:25:05 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2004-07-23 10:25:05 +0800 |
commit | dc446979575a5a845199a48c926c34df0ef9d49e (patch) | |
tree | 44057f89e969a05addd1a52c30ac03694062765c /lib/widgets/ephy-tree-model-node.h | |
parent | 279b35fe0123505605c9fe0ddf4e4ac21a71b2ab (diff) | |
download | gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.tar gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.tar.gz gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.tar.bz2 gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.tar.lz gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.tar.xz gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.tar.zst gsoc2013-epiphany-dc446979575a5a845199a48c926c34df0ef9d49e.zip |
Simplify node view filtering code and make it a normal property (no more
2004-07-23 Marco Pesenti Gritti <marco@gnome.org>
* lib/widgets/ephy-node-view.c: (filter_changed_cb),
(ephy_node_view_set_filter), (ephy_node_view_set_property),
(ephy_node_view_init), (ephy_node_view_select_node),
(filter_visible_func), (ephy_node_view_constructor),
(ephy_node_view_class_init):
* lib/widgets/ephy-tree-model-node.c:
(ephy_tree_model_node_set_property),
(ephy_tree_model_node_get_property),
(ephy_tree_model_node_class_init), (ephy_tree_model_node_init),
(ephy_tree_model_node_new), (ephy_tree_model_node_get_column_type),
(ephy_tree_model_node_get_value):
* lib/widgets/ephy-tree-model-node.h:
* src/prefs-dialog.c: (create_node_combo):
Simplify node view filtering code and make it a normal
property (no more constructor only)
Diffstat (limited to 'lib/widgets/ephy-tree-model-node.h')
-rw-r--r-- | lib/widgets/ephy-tree-model-node.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/widgets/ephy-tree-model-node.h b/lib/widgets/ephy-tree-model-node.h index fe1c08446..3e32288be 100644 --- a/lib/widgets/ephy-tree-model-node.h +++ b/lib/widgets/ephy-tree-model-node.h @@ -24,7 +24,6 @@ #include <gtk/gtktreemodel.h> #include "ephy-node.h" -#include "ephy-node-filter.h" G_BEGIN_DECLS @@ -35,12 +34,6 @@ G_BEGIN_DECLS #define EPHY_IS_TREE_MODEL_NODE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EPHY_TYPE_TREE_MODEL_NODE)) #define EPHY_TREE_MODEL_NODE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EPHY_TYPE_TREE_MODEL_NODE, EphyTreeModelNodeClass)) -typedef enum -{ - EPHY_TREE_MODEL_NODE_COL_VISIBLE, - EPHY_TREE_MODEL_NODE_BUILTIN_COLUMNS -} EphyTreeModelNodeColumn; - typedef void (*EphyTreeModelNodeValueFunc) (EphyNode *node, GValue *value, gpointer user_data); typedef struct EphyTreeModelNodePrivate EphyTreeModelNodePrivate; @@ -60,8 +53,7 @@ typedef struct GType ephy_tree_model_node_get_type (void); -EphyTreeModelNode *ephy_tree_model_node_new (EphyNode *root, - EphyNodeFilter *filter); +EphyTreeModelNode *ephy_tree_model_node_new (EphyNode *root); int ephy_tree_model_node_add_prop_column (EphyTreeModelNode *model, GType value_type, |