aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog9
-rw-r--r--e-util/e-config-listener.c8
2 files changed, 13 insertions, 4 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index c4d6b1e222..2bc98e4550 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,12 @@
+2002-11-06 Chris Toshok <toshok@ximian.com>
+
+ * e-config-listener.c (e_config_listener_set_boolean): init err to
+ NULL so if there isn't an error we aren't left with an unitialized
+ GError. Fixes crash.
+ (e_config_listener_set_float): same.
+ (e_config_listener_set_long): same.
+ (e_config_listener_set_string): same.
+
2002-11-05 Rodrigo Moya <rodrigo@ximian.com>
* e-component-listener.[ch]: ported to GObject.
diff --git a/e-util/e-config-listener.c b/e-util/e-config-listener.c
index 3ffe5012a9..5087aaed87 100644
--- a/e-util/e-config-listener.c
+++ b/e-util/e-config-listener.c
@@ -456,7 +456,7 @@ void
e_config_listener_set_boolean (EConfigListener *cl, const char *key, gboolean value)
{
KeyData *kd;
- GError *err;
+ GError *err = NULL;
g_return_if_fail (E_IS_CONFIG_LISTENER (cl));
g_return_if_fail (key != NULL);
@@ -481,7 +481,7 @@ void
e_config_listener_set_float (EConfigListener *cl, const char *key, float value)
{
KeyData *kd;
- GError *err;
+ GError *err = NULL;
g_return_if_fail (E_IS_CONFIG_LISTENER (cl));
g_return_if_fail (key != NULL);
@@ -506,7 +506,7 @@ void
e_config_listener_set_long (EConfigListener *cl, const char *key, long value)
{
KeyData *kd;
- GError *err;
+ GError *err = NULL;
g_return_if_fail (E_IS_CONFIG_LISTENER (cl));
g_return_if_fail (key != NULL);
@@ -532,7 +532,7 @@ e_config_listener_set_string (EConfigListener *cl, const char *key, const char *
{
char *s1, *s2;
KeyData *kd;
- GError *err;
+ GError *err = NULL;
g_return_if_fail (E_IS_CONFIG_LISTENER (cl));
g_return_if_fail (key != NULL);
git.cgi/freebsd-ports-gnome/commit/x11-themes/buffy?h=gnome-3.24&id=18ae1abf6c62bfe0b56b605c3ed75ba69f1ef093'>Remove USE_REINPLACE from categories starting with Xedwin2006-05-131-1/+0 * Conversion to a single libtool environment.ade2006-02-232-3/+3 * - Add SHA256pav2005-11-261-0/+1 * Mass-conversion to the USE_AUTOTOOLS New World Order. The code presentade2005-11-151-1/+1 * change the libtool version to use from 1.3 to 1.5oliver2005-06-04