aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2007-02-19 15:57:03 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2007-02-19 15:57:03 +0800
commitc237b391d7c62d2552b15e65b1ee03b6d2e68146 (patch)
tree63d7465366c68765c64a53a7564eefb9d03e3bba /plugins
parent984f3fbd898cf5fd95fadabde9c720bdf54224be (diff)
downloadgsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.tar
gsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.tar.gz
gsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.tar.bz2
gsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.tar.lz
gsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.tar.xz
gsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.tar.zst
gsoc2013-evolution-c237b391d7c62d2552b15e65b1ee03b6d2e68146.zip
Fixes some string to int conversion.
2007-02-19 Sankar P <psankar@novell.com> * url-editor-dialog.c: (set_from_uri): Fixes some string to int conversion. svn path=/trunk/; revision=33226
Diffstat (limited to 'plugins')
-rw-r--r--plugins/publish-calendar/ChangeLog5
-rw-r--r--plugins/publish-calendar/url-editor-dialog.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/plugins/publish-calendar/ChangeLog b/plugins/publish-calendar/ChangeLog
index cdf0981ad1..bd30d3ccf6 100644
--- a/plugins/publish-calendar/ChangeLog
+++ b/plugins/publish-calendar/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-19 Sankar P <psankar@novell.com>
+
+ * url-editor-dialog.c: (set_from_uri):
+ Fixes some string to int conversion.
+
2006-08-02 Chenthill Palanisamy <pchenthill@novell.com>
Fixes #343991
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c
index 7eed7f796e..352d6eff1e 100644
--- a/plugins/publish-calendar/url-editor-dialog.c
+++ b/plugins/publish-calendar/url-editor-dialog.c
@@ -282,8 +282,12 @@ set_from_uri (UrlEditorDialog *dialog)
if (euri->host)
gtk_entry_set_text (GTK_ENTRY (dialog->server_entry), euri->host);
- if (euri->port)
- gtk_entry_set_text (GTK_ENTRY (dialog->port_entry), euri->port);
+ if (euri->port) {
+ char *port;
+ port = g_strdup_printf ("%d", euri->port);
+ gtk_entry_set_text (GTK_ENTRY (dialog->port_entry), port);
+ g_free (port);
+ }
if (euri->path)
gtk_entry_set_text (GTK_ENTRY (dialog->file_entry), euri->path);