evolution r36210 - branches/mail-dbus-remoting/mail



Author: sragavan
Date: Fri Aug 29 19:58:27 2008
New Revision: 36210
URL: http://svn.gnome.org/viewvc/evolution?rev=36210&view=rev

Log:
Safe some code.


Modified:
   branches/mail-dbus-remoting/mail/em-folder-tree.c

Modified: branches/mail-dbus-remoting/mail/em-folder-tree.c
==============================================================================
--- branches/mail-dbus-remoting/mail/em-folder-tree.c	(original)
+++ branches/mail-dbus-remoting/mail/em-folder-tree.c	Fri Aug 29 19:58:27 2008
@@ -2510,8 +2510,9 @@
 	if (gtk_tree_selection_get_selected(selection, &model, &iter))
 		gtk_tree_model_get (model, &iter, COL_POINTER_CAMEL_STORE, &store,
 				    COL_STRING_FULL_NAME, &full_name, -1);
-
-	folder = camel_store_get_folder_remote (store, full_name, CAMEL_STORE_FOLDER_INFO_FAST, &ex);
+	#warning "Donno why, but on start up store is null, fix it rightly"
+	if (store)
+		folder = camel_store_get_folder_remote (store, full_name, CAMEL_STORE_FOLDER_INFO_FAST, &ex);
 
 	camel_exception_clear (&ex);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]