aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-06 03:38:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-06 03:38:24 +0800
commitba39d4fff529940d5e2a8a2a7e607d2bee644c08 (patch)
treea47d065f438baf95c23955e49591b5ba4ccb6bb7 /camel/camel-folder.c
parent19c493e5d98155169c3c2e7f7ed63321df313700 (diff)
downloadgsoc2013-evolution-ba39d4fff529940d5e2a8a2a7e607d2bee644c08.tar.gz
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-folder.c')
-rw-r--r--camel/camel-folder.c44
1 files changed, 24 insertions, 20 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 8057f545e3..60b7c9dcb1 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -41,6 +41,7 @@
#include "camel-private.h"
#define d(x)
+#define w(x)
static CamelObjectClass *parent_class = NULL;
@@ -256,8 +257,8 @@ camel_folder_construct (CamelFolder *folder, CamelStore *parent_store,
static void
folder_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
{
- g_warning ("CamelFolder::sync not implemented for `%s'",
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ w(g_warning ("CamelFolder::sync not implemented for `%s'",
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder))));
}
/**
@@ -380,8 +381,8 @@ camel_folder_get_parent_store (CamelFolder *folder)
static void
expunge (CamelFolder *folder, CamelException *ex)
{
- g_warning ("CamelFolder::expunge not implemented for `%s'",
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ w(g_warning ("CamelFolder::expunge not implemented for `%s'",
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder))));
}
@@ -474,12 +475,13 @@ static void
append_message (CamelFolder *folder, CamelMimeMessage *message,
const CamelMessageInfo *info, CamelException *ex)
{
- camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID,
- _("Unsupported operation: append message: for %s"),
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
-
- g_warning ("CamelFolder::append_message not implemented for `%s'",
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ camel_exception_setv (ex, CAMEL_EXCEPTION_FOLDER_INVALID,
+ _("Unsupported operation: append message: for %s"),
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+
+ w(g_warning ("CamelFolder::append_message not implemented for `%s'",
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder))));
+
return;
}
@@ -861,8 +863,9 @@ camel_folder_has_summary_capability (CamelFolder *folder)
static CamelMimeMessage *
get_message (CamelFolder *folder, const gchar *uid, CamelException *ex)
{
- g_warning ("CamelFolder::get_message not implemented for `%s'",
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ w(g_warning ("CamelFolder::get_message not implemented for `%s'",
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder))));
+
return NULL;
}
@@ -1041,12 +1044,13 @@ static GPtrArray *
search_by_expression (CamelFolder *folder, const char *expression,
CamelException *ex)
{
- camel_exception_setv(ex, CAMEL_EXCEPTION_FOLDER_INVALID,
- _("Unsupported operation: search by expression: for %s"),
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
-
- g_warning ("CamelFolder::search_by_expression not implemented for "
- "`%s'", camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ camel_exception_setv (ex, CAMEL_EXCEPTION_FOLDER_INVALID,
+ _("Unsupported operation: search by expression: for %s"),
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+
+ w(g_warning ("CamelFolder::search_by_expression not implemented for "
+ "`%s'", camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder))));
+
return NULL;
}
@@ -1485,8 +1489,8 @@ folder_changed (CamelObject *obj, gpointer event_data)
}
CAMEL_FOLDER_UNLOCK(folder, change_lock);
} else {
- g_warning("Class %s is passing NULL to folder_changed event",
- camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder)));
+ w(g_warning ("Class %s is passing NULL to folder_changed event",
+ camel_type_to_name (CAMEL_OBJECT_GET_TYPE (folder))));
}
return ret;