From ba39d4fff529940d5e2a8a2a7e607d2bee644c08 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 5 Oct 2001 19:38:24 +0000 Subject: Turn off warnings. (get_name): Same. 2001-10-05 Jeffrey Stedfast * camel-service.c (camel_service_finalize): Turn off warnings. (get_name): Same. * camel-sasl.c (sasl_challenge): Turn off warnings. * camel-tcp-stream.c (tcp_connect): Turn off warnings. (tcp_getsockopt): Same. (tcp_setsockopt): Here too. (tcp_get_socket): And here. * camel-folder.c (folder_sync): Turn off warnings. (expunge): Same. (append_message): Here too. (get_message): And here. (search_by_expression): And again here. (folder_changed): Here too. * camel-store.c (get_folder): Set an exception and turn off debugging g_warnings. (create_folder): Same. (delete_folder): Here too. (rename_folder): And here. (get_trash): And here. (get_folder_info): Same. (free_folder_info): And again here. (camel_folder_info_build): Here too. (folder_subscribed): Same. (subscribe_folder): Here too. (unsubscribe_folder): And here. svn path=/trunk/; revision=13458 --- camel/camel-tcp-stream.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'camel/camel-tcp-stream.c') diff --git a/camel/camel-tcp-stream.c b/camel/camel-tcp-stream.c index c00ca7e39d..30a483fbf3 100644 --- a/camel/camel-tcp-stream.c +++ b/camel/camel-tcp-stream.c @@ -26,6 +26,8 @@ #include "camel-tcp-stream.h" +#define w(x) + static CamelStreamClass *parent_class = NULL; /* Returns the class for a CamelTcpStream */ @@ -80,7 +82,7 @@ camel_tcp_stream_get_type (void) static int tcp_connect (CamelTcpStream *stream, struct hostent *host, int port) { - g_warning ("CamelTcpStream::connect called on default implementation\n"); + w(g_warning ("CamelTcpStream::connect called on default implementation")); return -1; } @@ -106,7 +108,7 @@ camel_tcp_stream_connect (CamelTcpStream *stream, struct hostent *host, int port static int tcp_getsockopt (CamelTcpStream *stream, CamelSockOptData *data) { - g_warning ("CamelTcpStream::getsockopt called on default implementation\n"); + w(g_warning ("CamelTcpStream::getsockopt called on default implementation")); return -1; } @@ -132,7 +134,7 @@ camel_tcp_stream_getsockopt (CamelTcpStream *stream, CamelSockOptData *data) static int tcp_setsockopt (CamelTcpStream *stream, const CamelSockOptData *data) { - g_warning ("CamelTcpStream::setsockopt called on default implementation\n"); + w(g_warning ("CamelTcpStream::setsockopt called on default implementation")); return -1; } @@ -158,7 +160,7 @@ camel_tcp_stream_setsockopt (CamelTcpStream *stream, const CamelSockOptData *dat static gpointer tcp_get_socket (CamelTcpStream *stream) { - g_warning ("CamelTcpStream::get_socket called on default implementation\n"); + w(g_warning ("CamelTcpStream::get_socket called on default implementation")); return NULL; } -- cgit