~ubuntu-branches/ubuntu/trusty/evolution-exchange/trusty

« back to all changes in this revision

Viewing changes to camel/camel-exchange-transport.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Jeremy Bicha, Michael Biebl
  • Date: 2012-06-20 06:48:27 UTC
  • mfrom: (1.1.80) (0.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20120620064827-yzlmon3kc8gzd7pf
Tags: 3.4.3-2
* Team upload.

[ Jeremy Bicha ]
* Drop debian/exchange-connector-setup-2.26.1:
  - The manpage doesn't have any useful information and wasn't
    being installed anyway.

[ Michael Biebl ]
* Strip debian/tmp/ from .install file.
* List missing files on installation.
* Update Vcs-* URLs.
* Drop obsolete Build-Depends on liborbit2-dev and group the evo/eds
  Build-Depends together.
* Drop obsolete workaround to set -fPIC explicitly via CFLAGS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <string.h>
27
27
#include <glib/gi18n-lib.h>
28
28
 
 
29
#include "camel-exchange-settings.h"
29
30
#include "camel-exchange-transport.h"
30
31
#include "camel-exchange-utils.h"
31
32
 
122
123
        if (store)
123
124
                g_object_unref (CAMEL_OBJECT (store));
124
125
 
 
126
        if (!success && error && !*error)
 
127
                g_set_error_literal (error, CAMEL_ERROR, CAMEL_ERROR_GENERIC, _("Could not send message"));
 
128
 
125
129
        return success;
126
130
}
127
131
 
128
132
static void
129
133
camel_exchange_transport_class_init (CamelExchangeTransportClass *class)
130
134
{
 
135
        CamelServiceClass *service_class;
131
136
        CamelTransportClass *transport_class;
132
137
 
 
138
        service_class = CAMEL_SERVICE_CLASS (class);
 
139
        service_class->settings_type = CAMEL_TYPE_EXCHANGE_SETTINGS;
 
140
 
133
141
        transport_class = CAMEL_TRANSPORT_CLASS (class);
134
142
        transport_class->send_to_sync = exchange_transport_send_to_sync;
135
143
}