diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-13 22:29:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-04-13 23:00:37 +0800 |
commit | 1347b66c5e8b51d1eb412688e14cb838a43db828 (patch) | |
tree | f31850bdaa4f2c30d320caafb8bff74ccf7e4a37 | |
parent | 5816b3cbe35e6e6d1ba50155308b5726ed2553c8 (diff) | |
download | gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.tar gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.tar.gz gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.tar.bz2 gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.tar.lz gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.tar.xz gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.tar.zst gsoc2013-evolution-1347b66c5e8b51d1eb412688e14cb838a43db828.zip |
Don't crash on missing EAlert definitions.
-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); |