From 1347b66c5e8b51d1eb412688e14cb838a43db828 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 13 Apr 2011 10:29:05 -0400 Subject: Don't crash on missing EAlert definitions. --- e-util/e-alert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/e-util/e-alert.c b/e-util/e-alert.c index 30afa8a9fe..12a92565a9 100644 --- a/e-util/e-alert.c +++ b/e-util/e-alert.c @@ -553,6 +553,7 @@ alert_constructed (GObject *object) alert = E_ALERT (object); definition = alert->priv->definition; + g_return_if_fail (definition != NULL); e_alert_set_message_type (alert, definition->message_type); e_alert_set_default_response (alert, definition->default_response); -- cgit