17 lines
485 B
Text
17 lines
485 B
Text
|
Index: spectool_gtk_topo.c
|
||
|
--- spectool_gtk_topo.c.orig
|
||
|
+++ spectool_gtk_topo.c
|
||
|
@@ -379,9 +379,9 @@ static gboolean spectool_topo_legend_expose(GtkWidget
|
||
|
cairo_pattern_t *pattern;
|
||
|
int cp;
|
||
|
|
||
|
- g_return_if_fail(widget != NULL);
|
||
|
- g_return_if_fail(aux != NULL);
|
||
|
- g_return_if_fail(IS_SPECTOOL_TOPO(aux));
|
||
|
+ g_return_val_if_fail(widget != NULL, FALSE);
|
||
|
+ g_return_val_if_fail(aux != NULL, FALSE);
|
||
|
+ g_return_val_if_fail(IS_SPECTOOL_TOPO(aux), FALSE);
|
||
|
|
||
|
topo = SPECTOOL_TOPO(aux);
|
||
|
|