diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-09-03 02:56:05 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-09-03 02:56:05 +0800 |
commit | d440df54a8a719d6da8f9d6556e1191bfdb38924 (patch) | |
tree | 90fb594c56df5ff9f0938cc4439174d525a54538 /shell/e-user-creatable-items-handler.c | |
parent | 19e564f320e368e4b8f4f6c238158960380bba71 (diff) | |
download | gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.gz gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.bz2 gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.lz gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.xz gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.zst gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.zip |
** Fix for bug #471791 (Move away from asserts to g_ret*)
svn path=/trunk/; revision=34159
Diffstat (limited to 'shell/e-user-creatable-items-handler.c')
-rw-r--r-- | shell/e-user-creatable-items-handler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c index c80796cffb..0ed012ea69 100644 --- a/shell/e-user-creatable-items-handler.c +++ b/shell/e-user-creatable-items-handler.c @@ -357,15 +357,15 @@ execute_verb (EUserCreatableItemsHandler *handler, priv = handler->priv; p = strchr (verb_name, ':'); - g_assert (p != NULL); + g_return_if_fail (p != NULL); component_number = atoi (p + 1); p = strchr (p + 1, ':'); - g_assert (p != NULL); + g_return_if_fail (p != NULL); id = p + 1; component_list_item = g_slist_nth (priv->components, component_number); - g_assert (component_list_item != NULL); + g_return_if_fail (component_list_item != NULL); component = (const Component *) component_list_item->data; |