aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-col.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-col.c')
-rw-r--r--widgets/table/e-table-col.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-col.c b/widgets/table/e-table-col.c
index 4c61cddd0f..3ffc45a2ed 100644
--- a/widgets/table/e-table-col.c
+++ b/widgets/table/e-table-col.c
@@ -17,11 +17,11 @@ e_table_col_new (const char *id, int width, int min_width,
{
ETableCol *etc;
- g_return_if_fail (id != NULL);
- g_return_if_fail (width >= 0);
- g_return_if_fail (min_width >= 0);
- g_return_if_fail (width >= min_width);
- g_return_if_fail (compare != NULL);
+ g_return_val_if_fail (id != NULL, NULL);
+ g_return_val_if_fail (width >= 0, NULL);
+ g_return_val_if_fail (min_width >= 0, NULL);
+ g_return_val_if_fail (width >= min_width, NULL);
+ g_return_val_if_fail (compare != NULL, NULL);
etc = g_new (ETableCol, 1);