aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 49fba26257..f93fe4162c 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2008-04-23 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #529254
+
+ * gui/widgets/eab-gui-util.c: (save_it):
+ Prototype and return value of e_write_file_uri has been changed.
+
2008-04-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #529465
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 27b81e7110..6b8973637b 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -353,7 +353,6 @@ save_it(GtkWidget *widget, SaveAsInfo *info)
{
const char *filename;
char *uri;
- gint error = 0;
gint response = 0;
@@ -370,8 +369,7 @@ save_it(GtkWidget *widget, SaveAsInfo *info)
}
}
- error = e_write_file_uri (uri, info->vcard);
- if (error != 0) {
+ if (!e_write_file_uri (uri, info->vcard)) {
char *err_str_ext;
if (info->has_multiple_contacts) {
/* more than one, finding the total number of contacts might