aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-alert.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-alert.c')
-rw-r--r--e-util/e-alert.c1
1 files changed, 1 insertions, 0 deletions
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);