diff options
| author | Harish Krishnaswamy <kharish@src.gnome.org> | 2005-06-04 09:31:54 +0000 |
|---|---|---|
| committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2005-06-04 09:31:54 +0000 |
| commit | d057c4497d7427e78543f3788bdc7442e6a32e1f (patch) | |
| tree | 7b6a24e295a75c34bd8d3d051aa5b0fa3e63ad7e | |
| parent | a368db8cf75eef6022e2f7f18f97bfa05b111097 (diff) | |
| download | evolution-data-server-d057c4497d7427e78543f3788bdc7442e6a32e1f.tar.gz | |
revert Partha's changes that break bin compatibility
| -rw-r--r-- | servers/groupwise/ChangeLog | 5 | ||||
| -rw-r--r-- | servers/groupwise/e-gw-item.c | 6 | ||||
| -rw-r--r-- | servers/groupwise/e-gw-item.h | 1 |
3 files changed, 9 insertions, 3 deletions
diff --git a/servers/groupwise/ChangeLog b/servers/groupwise/ChangeLog index b6d1de497..ac99c44eb 100644 --- a/servers/groupwise/ChangeLog +++ b/servers/groupwise/ChangeLog @@ -1,3 +1,8 @@ +2005-06-04 Harish Krishnaswamy <kharish@novell.com> + + * e-gw-item.[ch] : Revert Partha's changes that break + bin compatibility. + 2005-05-17 Sushma Rai <rsushma@novell.com> * e-gw-item.c (set_contact_fields_from_soap_parameter): Freeing value, diff --git a/servers/groupwise/e-gw-item.c b/servers/groupwise/e-gw-item.c index 4bebbcf72..b73815771 100644 --- a/servers/groupwise/e-gw-item.c +++ b/servers/groupwise/e-gw-item.c @@ -1788,8 +1788,10 @@ e_gw_item_new_from_soap_parameter (const char *email, const char *container, Sou char *ref = NULL; attach->id = soup_soap_parameter_get_string_value (temp) ; ref = soup_soap_parameter_get_property (temp, "itemReference"); - if (ref) - attach->reference = atoi(ref), g_free (ref); + if (ref) { + attach->contentType = g_strdup_printf ("gw:%s", ref); + g_free (ref); + } } temp = soup_soap_parameter_get_first_child_by_name (attachment_param, "name") ; diff --git a/servers/groupwise/e-gw-item.h b/servers/groupwise/e-gw-item.h index 148aca7a5..ad5871fda 100644 --- a/servers/groupwise/e-gw-item.h +++ b/servers/groupwise/e-gw-item.h @@ -121,7 +121,6 @@ typedef struct { typedef struct { char *id ; - int reference; char *name ; char *contentType ; int size ; |
