aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/nntp/camel-nntp-store.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-09 08:22:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-09 08:22:54 +0800
commitd1bc4936d699830da46e384d32d9f60f3f8dc3fa (patch)
tree440f8f09bcfbbbee7e2df93d4f5618c86020eb9d /camel/providers/nntp/camel-nntp-store.c
parentce3c2273262985f373126cc7fe4041c5da94d362 (diff)
downloadgsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar
gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.gz
gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.bz2
gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.lz
gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.xz
gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.tar.zst
gsoc2013-evolution-d1bc4936d699830da46e384d32d9f60f3f8dc3fa.zip
Update to reflect past changes in the Camel API. Use gtk macro casts
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com> * providers/nntp/camel-nntp-folder.c: * providers/nntp/camel-nntp-utils.c: * providers/nntp/camel-nntp-store.c: Update to reflect past changes in the Camel API. Use gtk macro casts wherever possible and use glib's memory functions instead of standard c's (since they are not compatable) * providers/smtp/camel-smtp-transport.c: * providers/imap/camel-imap-store.c: Wrap debug print statements in a macro * providers/imap/camel-imap-stream.c (stream_read): Make sure that we get up to and including the last \n of the mime part. * providers/imap/camel-imap-folder.c (imap_get_message): Make sure that we get up to and including the last \n of the mime part. Wrap debug print statements in a macro. svn path=/trunk/; revision=3984
Diffstat (limited to 'camel/providers/nntp/camel-nntp-store.c')
-rw-r--r--camel/providers/nntp/camel-nntp-store.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c
index 03ab14ccdb..96d11b4915 100644
--- a/camel/providers/nntp/camel-nntp-store.c
+++ b/camel/providers/nntp/camel-nntp-store.c
@@ -99,7 +99,7 @@ static char *
nntp_store_get_name (CamelService *service, gboolean brief)
{
/* Same info for long and brief... */
- return g_strdup_sprintf ("USENET news via %s", service->url->host);
+ return g_strdup_printf ("USENET news via %s", service->url->host);
}
@@ -107,7 +107,7 @@ static void
camel_nntp_store_class_init (CamelNNTPStoreClass *camel_nntp_store_class)
{
CamelStoreClass *camel_store_class = CAMEL_STORE_CLASS (camel_nntp_store_class);
- CamelServiceClass *camel_store_class = CAMEL_SERVICE_CLASS (camel_nntp_store_class);
+ CamelServiceClass *camel_service_class = CAMEL_SERVICE_CLASS (camel_nntp_store_class);
service_class = gtk_type_class (camel_service_get_type ());