diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-13 22:29:05 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:54 +0800 |
commit | adb682530f168493371030c2e3c1fd96e5b8a172 (patch) | |
tree | 354856b10be10a52e4b62c5be7ccc9101f7fa207 /e-util | |
parent | 8b7af0458c0371f8b8c4dd3560f09fdb464a364a (diff) | |
download | gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.tar gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.tar.gz gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.tar.bz2 gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.tar.lz gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.tar.xz gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.tar.zst gsoc2013-evolution-adb682530f168493371030c2e3c1fd96e5b8a172.zip |
Don't crash on missing EAlert definitions.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-alert.c | 1 |
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); |