aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/save-calendar
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@src.gnome.org>2006-01-28 00:34:03 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2006-01-28 00:34:03 +0800
commit45f799eb8632142a31d1dbf3572c2672bb36c747 (patch)
tree852523494c449077b4e59e0812bd7277d6892a4f /plugins/save-calendar
parent6a557ef8fd8fb37af345b0f092f8419572bee1dd (diff)
downloadgsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar
gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.gz
gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.bz2
gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.lz
gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.xz
gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.tar.zst
gsoc2013-evolution-45f799eb8632142a31d1dbf3572c2672bb36c747.zip
Make this place a bit more quiet
svn path=/trunk/; revision=31328
Diffstat (limited to 'plugins/save-calendar')
-rw-r--r--plugins/save-calendar/ChangeLog7
-rw-r--r--plugins/save-calendar/csv-format.c10
-rw-r--r--plugins/save-calendar/save-calendar.c3
3 files changed, 13 insertions, 7 deletions
diff --git a/plugins/save-calendar/ChangeLog b/plugins/save-calendar/ChangeLog
index 7e97e80a8b..5776d140f0 100644
--- a/plugins/save-calendar/ChangeLog
+++ b/plugins/save-calendar/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-09 Kjartan Maraas <kmaraas@gnome.org>
+
+ * csv-format.c: (string_needsquotes):
+ * save-calendar.c: (ask_destination_and_save): Fix confusion
+ between = and ==. Silences the compiler, but someone has to check
+ if this really is correct.
+
2006-01-10 Simon Zheng <simon.zheng@sun.com>
* csv-format.c:
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index ff53c737e2..39d373775f 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -229,15 +229,15 @@ string_needsquotes (const char *value, CsvConfig *config)
if (!needquotes) {
gint len = strlen (config->delimiter);
- if ((len == 2) && (config->delimiter[1] = ' ')) {
+ if ((len == 2) && (config->delimiter[1] == ' ')) {
needquotes = strchr (value, config->delimiter[0])?TRUE:FALSE;
if (!needquotes) {
- gint len = strlen (config->newline);
- if ((len == 2) && (config->newline[1] = ' ')) {
+ len = strlen (config->newline);
+ if ((len == 2) && (config->newline[1] == ' ')) {
needquotes = strchr (value, config->newline[0])?TRUE:FALSE;
if (!needquotes) {
- gint len = strlen (config->quote);
- if ((len == 2) && (config->quote[1] = ' ')) {
+ len = strlen (config->quote);
+ if ((len == 2) && (config->quote[1] == ' ')) {
needquotes = strchr
(value, config->quote[0])?TRUE:FALSE;
}
diff --git a/plugins/save-calendar/save-calendar.c b/plugins/save-calendar/save-calendar.c
index 2abdd54951..947f4652d3 100644
--- a/plugins/save-calendar/save-calendar.c
+++ b/plugins/save-calendar/save-calendar.c
@@ -139,8 +139,7 @@ ask_destination_and_save (EPlugin *ep, ECalPopupTargetSource *target, ECalSource
renderer, "text", DEST_NAME_COLUMN, NULL);
while (format_handlers) {
- FormatHandler *handler = format_handlers->data;
-
+ handler = format_handlers->data;
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter, DEST_NAME_COLUMN,
handler->combo_label, -1);