aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/component/addressbook-component.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 25ff7ee1ee..1358d51184 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,6 +1,11 @@
2004-03-03 Hans Petter Jansson <hpj@ximian.com>
* gui/component/addressbook-component.c (delete_addressbook_cb):
+ Set error to NULL before using it.
+
+2004-03-03 Hans Petter Jansson <hpj@ximian.com>
+
+ * gui/component/addressbook-component.c (delete_addressbook_cb):
Remove local data, with error reporting on failure.
2004-03-02 Larry Ewing <lewing@ximian.com>
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index b9b84e2cf4..1acba3fcec 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -208,7 +208,7 @@ delete_addressbook_cb (GtkWidget *widget, AddressbookComponent *comp)
GtkWidget *dialog;
EBook *book;
gboolean removed = FALSE;
- GError *error;
+ GError *error = NULL;
priv = comp->priv;