[anjal] Fix some critical warnings.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] Fix some critical warnings.
- Date: Tue, 25 Aug 2009 19:02:24 +0000 (UTC)
commit 802f5a2cbc90e89acb8c8303a3e50d18d77546ad
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Aug 26 00:31:48 2009 +0530
Fix some critical warnings.
src/mail-conv-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mail-conv-view.c b/src/mail-conv-view.c
index c686efa..a592e31 100644
--- a/src/mail-conv-view.c
+++ b/src/mail-conv-view.c
@@ -393,7 +393,7 @@ mail_conv_view_set_thread (MailConvView *mcv, CamelFolder *folder, const char *u
gtk_container_add ((GtkContainer *)mcv->priv->viewport, mcv->child_box);
mcv->priv->position = 0;
mcv->priv->load_chain = g_malloc0(sizeof (gpointer) * (array->len+1));
- if (array->len) {
+ if (array->len && mcv->priv->tab_label) {
CamelMessageInfo *mi = camel_folder_summary_uid (folder->summary, array->pdata[0]);
gtk_label_set_text ((GtkLabel *)mcv->priv->tab_label, camel_message_info_subject(mi));
gtk_label_set_max_width_chars ((GtkLabel *)mcv->priv->tab_label, 15);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]