diff options
author | Not Zed <NotZed@Ximian.com> | 2004-04-28 14:38:20 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-04-28 14:38:20 +0800 |
commit | 6674bdd55b8b29b1bde4b032f6933dfcfb967107 (patch) | |
tree | 34edbe55104d4083ef559df43ff93f8888228d37 /filter/filter-option.c | |
parent | 4e99c39bcf70a2b15d4bd6dbb609ef0aba8d9675 (diff) | |
download | gsoc2013-evolution-6674bdd55b8b29b1bde4b032f6933dfcfb967107.tar.gz gsoc2013-evolution-6674bdd55b8b29b1bde4b032f6933dfcfb967107.tar.zst gsoc2013-evolution-6674bdd55b8b29b1bde4b032f6933dfcfb967107.zip |
fix a warning.
2004-04-28 Not Zed <NotZed@Ximian.com>
* filter-option.c (filter_option_add): fix a warning.
** Changed error messages to use EError.
svn path=/trunk/; revision=25651
Diffstat (limited to 'filter/filter-option.c')
-rw-r--r-- | filter/filter-option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-option.c b/filter/filter-option.c index 7d1530620d..73296cd86d 100644 --- a/filter/filter-option.c +++ b/filter/filter-option.c @@ -169,7 +169,7 @@ filter_option_add(FilterOption *fo, const char *value, const char *title, const struct _filter_option *op; g_assert(IS_FILTER_OPTION(fo)); - g_return_if_fail(find_option(fo, value) == NULL); + g_return_val_if_fail(find_option(fo, value) == NULL, NULL); op = g_malloc(sizeof(*op)); op->title = g_strdup(title); |