aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-02-12 05:20:43 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-12 05:20:43 +0800
commitcdb641800827669bdde0ade2e3efd08fd3a2b405 (patch)
tree091a211ff05ee733fa83db961407c9b74b8d0c97 /mail/message-list.h
parentde02508770a38e596ea7ea00fec78d45aaefa551 (diff)
downloadgsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.tar
gsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.tar.gz
gsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.tar.bz2
gsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.tar.lz
gsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.tar.xz
gsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.tar.zst
gsoc2013-evolution-cdb641800827669bdde0ade2e3efd08fd3a2b405.zip
Register a destroy virtual method. (mail_accounts_tab_destroy): Set
2003-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_accounts_tab_class_init): Register a destroy virtual method. (mail_accounts_tab_destroy): Set mail_display->destroyed = TRUE. * message-list.c (message_list_destroy): Set mail_display->destroyed = TRUE. This is a workaround for the GTK_OBJECT_DESTROYED() macro that we used to use before. svn path=/trunk/; revision=19884
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index de152cec2e..78af58644d 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -72,17 +72,21 @@ struct _MessageList {
/* IMPORTANT: You MUST have obtained the hide lock, to operate on this data */
GHashTable *hidden;
struct _EMemPool *hidden_pool;
- int hide_unhidden, /* total length, before hiding */
- hide_before, hide_after; /* hide ranges of messages */
-
+ int hide_unhidden; /* total length, before hiding */
+ int hide_before, hide_after; /* hide ranges of messages */
+
/* Current search string, or %NULL */
char *search;
-
+
/* Are we displaying threaded view? */
- gboolean threaded;
+ guint threaded : 1;
+
/* do we automatically hide deleted messages? */
- gboolean hidedeleted;
-
+ guint hidedeleted : 1;
+
+ /* is the message-list object in a destroyed state? */
+ guint destroyed : 1;
+
/* Where the ETree cursor is. */
int cursor_row;
char *cursor_uid;