changeset 7585:404f4a4b81da

[gaim-migrate @ 8203] Okay, now do that again to another function. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 21 Nov 2003 08:20:53 +0000
parents 9e93a4bf1934
children c50926062b30
files src/signals.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/signals.c	Fri Nov 21 08:18:28 2003 +0000
+++ b/src/signals.c	Fri Nov 21 08:20:53 2003 +0000
@@ -455,6 +455,9 @@
 	void *ret_val;
 	va_list args;
 
+	g_return_if_fail(instance != NULL);
+	g_return_if_fail(signal   != NULL);
+
 	va_start(args, signal);
 	ret_val = gaim_signal_emit_vargs_return_1(instance, signal, args);
 	va_end(args);