[gnome-builder] egg-signal-group: Verify that the signal exists
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] egg-signal-group: Verify that the signal exists
- Date: Tue, 5 May 2015 00:00:35 +0000 (UTC)
commit 5afe1481c9f7c4fea93aefcf50458f786fca731c
Author: Garrett Regier <garrettregier gmail com>
Date: Mon May 4 16:59:37 2015 -0700
egg-signal-group: Verify that the signal exists
contrib/egg/egg-signal-group.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/contrib/egg/egg-signal-group.c b/contrib/egg/egg-signal-group.c
index f46b451..071bd17 100644
--- a/contrib/egg/egg-signal-group.c
+++ b/contrib/egg/egg-signal-group.c
@@ -496,6 +496,8 @@ egg_signal_group_connect_object (EggSignalGroup *self,
g_return_if_fail (EGG_IS_SIGNAL_GROUP (self));
g_return_if_fail (detailed_signal != NULL);
+ g_return_if_fail (g_signal_parse_name (detailed_signal, self->target_type,
+ NULL, NULL, FALSE) != 0);
g_return_if_fail (callback != NULL);
g_return_if_fail (G_IS_OBJECT (object));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]