diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-06 03:38:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-06 03:38:24 +0800 |
commit | ba39d4fff529940d5e2a8a2a7e607d2bee644c08 (patch) | |
tree | a47d065f438baf95c23955e49591b5ba4ccb6bb7 /camel/camel-service.c | |
parent | 19c493e5d98155169c3c2e7f7ed63321df313700 (diff) | |
download | gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar.gz gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar.bz2 gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar.lz gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar.xz gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar.zst gsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.zip |
Turn off warnings. (get_name): Same.
2001-10-05 Jeffrey Stedfast <fejj@ximian.com>
* 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
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r-- | camel/camel-service.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c index befc8d4f69..4df8154d98 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -47,6 +47,7 @@ #include "camel-private.h" #define d(x) +#define w(x) static CamelObjectClass *parent_class = NULL; @@ -103,8 +104,8 @@ camel_service_finalize (CamelObject *object) camel_exception_init (&ex); CSERV_CLASS (service)->disconnect (service, TRUE, &ex); if (camel_exception_is_set (&ex)) { - g_warning ("camel_service_finalize: silent disconnect failure: %s", - camel_exception_get_description (&ex)); + w(g_warning ("camel_service_finalize: silent disconnect failure: %s", + camel_exception_get_description (&ex))); } camel_exception_clear (&ex); } @@ -370,8 +371,8 @@ camel_service_get_url (CamelService *service) static char * get_name (CamelService *service, gboolean brief) { - g_warning ("CamelService::get_name not implemented for `%s'", - camel_type_to_name (CAMEL_OBJECT_GET_TYPE (service))); + w(g_warning ("CamelService::get_name not implemented for `%s'", + camel_type_to_name (CAMEL_OBJECT_GET_TYPE (service)))); return g_strdup ("???"); } |