aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-04-23 17:19:23 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-04-23 17:19:23 +0800
commit9364fe50368e2c48b1987edd43c92c1ecd1cd8cd (patch)
tree571bfca73375b28c93caee273708e721de3e6c0d /addressbook
parent0696568dc90ebe0c1eab8e9b58a8f32707d1663c (diff)
downloadgsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.tar
gsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.tar.gz
gsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.tar.bz2
gsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.tar.lz
gsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.tar.xz
gsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.tar.zst
gsoc2013-evolution-9364fe50368e2c48b1987edd43c92c1ecd1cd8cd.zip
** Fix for bug #529254
2008-04-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #529254 * e-util/e-util.c: (e_write_file_uri): Save file properly. Handle either URI or filename. Return success or failure, not gint. * addressbook/gui/widgets/eab-gui-util.c: (save_it): Prototype and return value of e_write_file_uri has been changed. svn path=/trunk/; revision=35409
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