diff options
author | Not Zed <NotZed@Ximian.com> | 2004-04-08 15:20:31 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-04-08 15:20:31 +0800 |
commit | 6abfb7eae7cd1d58570881c8c322ff2ba40484df (patch) | |
tree | 195d4ef227b4f773d2360f6f1a4f46697c22c87e /camel/camel-object.h | |
parent | 909bdc093cfe9af816b17829ee0ca73da09d02a4 (diff) | |
download | gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.tar gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.tar.gz gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.tar.bz2 gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.tar.lz gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.tar.xz gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.tar.zst gsoc2013-evolution-6abfb7eae7cd1d58570881c8c322ff2ba40484df.zip |
include camel-debug.h
2004-04-08 Not Zed <NotZed@Ximian.com>
* camel-folder.c: include camel-debug.h
* providers/local/camel-mbox-folder.c
(mbox_set_message_user_flag): message changed to folder_changed.
(mbox_set_message_user_tag): ditto.
* camel-vee-folder.c (camel_vee_folder_finalise): dont hook onto
message_changed.
(camel_vee_folder_add_folder): or unhook.
(camel_vee_folder_remove_folder): "
(message_changed): or proxy.
* camel-folder.c (camel_folder_class_init): removed the
message_changed event - its redundant, and covered by
folder_changed, and just makes life difficult for everything using
message_changed/folder_changed (and nothing uses it anyway).
(message_changed): removed.
(set_message_user_flag): emit a folder_changed event instead of
message changed.
(set_message_user_tag): "
(set_message_flags): "
* camel-object.h: revered the CAMEL_OBJECT_TYPE change, it should
be a global variable access.
svn path=/trunk/; revision=25367
Diffstat (limited to 'camel/camel-object.h')
-rw-r--r-- | camel/camel-object.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/camel/camel-object.h b/camel/camel-object.h index 69068e02be..80e68aecf3 100644 --- a/camel/camel-object.h +++ b/camel/camel-object.h @@ -1,12 +1,11 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-object.h: Base class for Camel */ - /* - * Author: + * Authors: * Dan Winship <danw@ximian.com> * Michael Zucchi <notzed@ximian.com> * - * Copyright 2000 Ximian, Inc. (www.ximian.com) + * Copyright 2000-2004 Novell, Inc. (www.novell.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public @@ -23,7 +22,6 @@ * USA */ - #ifndef CAMEL_OBJECT_H #define CAMEL_OBJECT_H 1 @@ -61,7 +59,7 @@ typedef struct _CamelObjectClass *CamelType; extern CamelType camel_object_type; -#define CAMEL_OBJECT_TYPE (camel_object_get_type ()) +#define CAMEL_OBJECT_TYPE (camel_object_type) /* we can't check casts till we've got the type, use the global type variable because its cheaper */ #define CAMEL_OBJECT(obj) (CAMEL_CHECK_CAST((obj), camel_object_type, CamelObject)) |