projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a popup menu to the PsppireDictView object.
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire-conf.c
diff --git
a/src/ui/gui/psppire-conf.c
b/src/ui/gui/psppire-conf.c
index d9f6800ffd0d494278e29b0ca8a3dc2304b4f6e2..fae56f46de2806461ad55018664592ce870d76c3 100644
(file)
--- a/
src/ui/gui/psppire-conf.c
+++ b/
src/ui/gui/psppire-conf.c
@@
-181,16
+181,20
@@
psppire_conf_get_boolean (PsppireConf *conf, const gchar *base,
const gchar *name, gboolean *value)
{
gboolean ok;
const gchar *name, gboolean *value)
{
gboolean ok;
+ gboolean b;
GError *err = NULL;
conf_read (conf);
GError *err = NULL;
conf_read (conf);
-
*value
= g_key_file_get_boolean (conf->keyfile,
-
base,
-
name, &err);
+
b
= g_key_file_get_boolean (conf->keyfile,
+ base,
+ name, &err);
ok = (err == NULL);
if ( err != NULL )
g_error_free (err);
ok = (err == NULL);
if ( err != NULL )
g_error_free (err);
+ if (ok)
+ *value = b;
+
return ok;
}
return ok;
}