diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-10 15:31:21 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-10 15:31:21 +0800 |
commit | afbee2366ab309647467c17dd9087a42955a977a (patch) | |
tree | 0417022d7e9dfa00922bdb26f044e354f957e711 /widgets/e-table-group.c | |
parent | 9e76b410eda5783fc725b5e1260a30b583fc3395 (diff) | |
download | gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.gz gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.bz2 gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.lz gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.xz gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.zst gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.zip |
Stuff
svn path=/trunk/; revision=1378
Diffstat (limited to 'widgets/e-table-group.c')
-rw-r--r-- | widgets/e-table-group.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/e-table-group.c b/widgets/e-table-group.c index 194bc6b235..07a3fb60f2 100644 --- a/widgets/e-table-group.c +++ b/widgets/e-table-group.c @@ -13,7 +13,7 @@ void e_table_group_destroy (ETableGroup *etg) { - g_return_val_if_fail (etg != NULL); + g_return_if_fail (etg != NULL); g_free (etg->title); @@ -46,11 +46,11 @@ e_table_group_new_leaf (const char *title, ETableModel *table) etg->u.table = table; etg->title = g_strdup (title); - return eg; + return etg; } ETableGroup * -e_table_group_new_leaf (const char *title) +e_table_group_new (const char *title) { ETableGroup *etg; @@ -63,15 +63,15 @@ e_table_group_new_leaf (const char *title) etg->u.children = NULL; etg->title = g_strdup (title); - return eg; + return etg; } void e_table_group_append_child (ETableGroup *etg, ETableGroup *child) { - g_return_val_if_fail (etg != NULL); - g_return_val_if_fail (child != NULL); - g_return_val_if_fail (etg->is_leaf != 0); + g_return_if_fail (etg != NULL); + g_return_if_fail (child != NULL); + g_return_if_fail (etg->is_leaf != 0); etg->u.children = g_slist_append (etg->u.children, child); } @@ -79,7 +79,7 @@ e_table_group_append_child (ETableGroup *etg, ETableGroup *child) int e_table_group_size (ETableGroup *etg) { - g_return_val_if_fail (etg != NULL); + g_return_if_fail (etg != NULL); if (etg->is_leaf) return e_table_model_height (etg->u.table); |