aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChris Lahey <clahey@src.gnome.org>2001-02-23 10:29:50 +0800
committerChris Lahey <clahey@src.gnome.org>2001-02-23 10:29:50 +0800
commit45381e728a644e92901e8ccfce062d1e88c2b4e0 (patch)
treed6e1eb677d51c97a6103ea0a86a1c9cbabc4b1a9 /widgets/table
parentc13a70e866b0591d6719cef1209d8b6c6826ccb9 (diff)
downloadgsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.tar
gsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.tar.gz
gsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.tar.bz2
gsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.tar.lz
gsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.tar.xz
gsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.tar.zst
gsoc2013-evolution-45381e728a644e92901e8ccfce062d1e88c2b4e0.zip
Doh!
svn path=/trunk/; revision=8362
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-tree-model.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c
index 953400c71e..0658cef7db 100644
--- a/widgets/table/e-tree-model.c
+++ b/widgets/table/e-tree-model.c
@@ -923,8 +923,8 @@ e_tree_model_root_node_set_visible (ETreeModel *etm, gboolean visible)
{
ETreeModelPriv *priv;
- g_return_if_fail (etree != NULL);
- g_return_if_fail (E_IS_TREE_MODEL (etree));
+ g_return_if_fail (etm != NULL);
+ g_return_if_fail (E_IS_TREE_MODEL (etm));
priv = etm->priv;
if (visible != priv->root_visible) {
@@ -957,8 +957,8 @@ e_tree_model_root_node_is_visible (ETreeModel *etm)
{
ETreeModelPriv *priv;
- g_return_val_if_fail (etree != NULL, FALSE);
- g_return_val_if_fail (E_IS_TREE_MODEL (etree), FALSE);
+ g_return_val_if_fail (etm != NULL, FALSE);
+ g_return_val_if_fail (E_IS_TREE_MODEL (etm), FALSE);
priv = etm->priv;
return priv->root_visible;
@@ -1184,7 +1184,7 @@ e_tree_model_node_get_children (ETreeModel *etree, ETreePath *path, ETreePath **
guint
e_tree_model_node_num_visible_descendents (ETreeModel *etm, ETreePath *node)
{
- g_return_val_if_fail(node != NULL, 0)
+ g_return_val_if_fail(node != NULL, 0);
return node->visible_descendents;
}
@@ -1241,7 +1241,7 @@ e_tree_model_node_insert (ETreeModel *tree_model,
ETreeModelPriv *priv;
ETreePath *new_path;
- g_return_val_if_fail(tree_model != NULL, NULL)
+ g_return_val_if_fail(tree_model != NULL, NULL);
priv = tree_model->priv;
@@ -1350,7 +1350,7 @@ e_tree_model_node_insert_id (ETreeModel *tree_model,
{
ETreePath *path;
- g_return_val_if_fail(tree_model != NULL, NULL)
+ g_return_val_if_fail(tree_model != NULL, NULL);
path = e_tree_model_node_insert (tree_model, parent_path, position, node_data);
@@ -1379,7 +1379,7 @@ e_tree_model_node_insert_before (ETreeModel *etree,
ETreePath *child;
int position = 0;
- g_return_val_if_fail(tree_model != NULL, NULL)
+ g_return_val_if_fail(etree != NULL, NULL);
for (child = parent->first_child; child; child = child->next_sibling) {
if (child == sibling)
@@ -1428,7 +1428,7 @@ e_tree_model_node_remove (ETreeModel *etree, ETreePath *path)
int row, visible = 0, base = 0;
gboolean dochanged;
- g_return_val_if_fail(etree != NULL, NULL)
+ g_return_val_if_fail(etree != NULL, NULL);
/* work out what range of visible rows to remove */
if (parent) {
@@ -1710,7 +1710,7 @@ e_tree_model_node_set_compare_function (ETreeModel *tree_model,
{
gboolean need_sort;
- g_return_if_fail(etm != NULL);
+ g_return_if_fail (tree_model != NULL);
g_return_if_fail (E_TREE_MODEL (tree_model));
g_return_if_fail (node);