aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2000-05-11 05:10:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-05-11 05:10:27 +0800
commit490154795019ac5a7a8fe6276a04e42c03225e35 (patch)
tree4a68dde7d1a9eaff0ab9f60b24696959f64b5a62 /camel
parent128d255031170115e4f2427294beff9ac1d04179 (diff)
downloadgsoc2013-evolution-490154795019ac5a7a8fe6276a04e42c03225e35.tar.gz
gsoc2013-evolution-490154795019ac5a7a8fe6276a04e42c03225e35.tar.zst
gsoc2013-evolution-490154795019ac5a7a8fe6276a04e42c03225e35.zip
fixed camel_smtp_transport_class_init(): now initializes service_class
svn path=/trunk/; revision=2979
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/smtp/camel-smtp-transport.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index e7953e65a6..8249df97f2 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-10 Jeffrey Stedfast <fejj@stampede.org>
+
+ * providers/smtp/camel-smtp-transport.c: (camel_smtp_transport_class_init):
+ Added initialization for service_class
+
2000-05-10 Dan Winship <danw@helixcode.com>
* camel-multipart.c (write_to_stream): fix a stupid typo. Thank
diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c
index a240ae95ec..57d14d7fe3 100644
--- a/camel/providers/smtp/camel-smtp-transport.c
+++ b/camel/providers/smtp/camel-smtp-transport.c
@@ -34,7 +34,8 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-
+#undef MIN
+#undef MAX
#include "camel-smtp-transport.h"
#include "camel-mime-message.h"
#include "camel-stream-buffer.h"
@@ -77,6 +78,8 @@ camel_smtp_transport_class_init (CamelSmtpTransportClass *camel_smtp_transport_c
CAMEL_TRANSPORT_CLASS (camel_smtp_transport_class);
CamelServiceClass *camel_service_class =
CAMEL_SERVICE_CLASS (camel_smtp_transport_class);
+
+ service_class = gtk_type_class (camel_service_get_type ());
/* virtual method overload */
camel_service_class->connect = smtp_connect;