projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559eb05
)
* at least on bora, gconf crashes if you try to set a NULL string,
author
Dirk-Jan C. Binnema
<dirk-jan.binnema@nokia.com>
Tue, 15 May 2007 09:14:25 +0000
(09:14 +0000)
committer
Dirk-Jan C. Binnema
<dirk-jan.binnema@nokia.com>
Tue, 15 May 2007 09:14:25 +0000
(09:14 +0000)
the NULL is a symptom of another bug (it causes the crash in bug
#57045), but at least we should be safe against NULLs.
pmo-trunk-r1866
src/modest-conf.c
patch
|
blob
|
history
diff --git
a/src/modest-conf.c
b/src/modest-conf.c
index
cdf2062
..
ca44ae0
100644
(file)
--- a/
src/modest-conf.c
+++ b/
src/modest-conf.c
@@
-251,6
+251,7
@@
modest_conf_set_string (ModestConf* self, const gchar* key, const gchar* val,
g_return_val_if_fail (self,FALSE);
g_return_val_if_fail (key, FALSE);
+ g_return_val_if_fail (val, FALSE);
priv = MODEST_CONF_GET_PRIVATE(self);