Do nothing if the selection is NULL? Maybe this is the cause of bug #6817.

2001-09-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (invisible_selection_get_callback): Do nothing if
	the selection is NULL? Maybe this is the cause of bug #6817.

svn path=/trunk/; revision=12910
This commit is contained in:
Jeffrey Stedfast
2001-09-17 21:02:30 +00:00
committed by Jeffrey Stedfast
parent 1a6a89e265
commit 23583a50aa
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2001-09-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (invisible_selection_get_callback): Do nothing if
the selection is NULL? Maybe this is the cause of bug #6817.
* mail-config.c (mail_config_folder_to_cachename): Go back to
generating the cachename ourselves, but continue doing it the way
the dfault implementation of camel_folder_get_uri worked.

View File

@ -1413,7 +1413,10 @@ invisible_selection_get_callback (GtkWidget *widget,
MailDisplay *display;
display = MAIL_DISPLAY (data);
if (!display->selection)
return;
g_assert (info == 1);
gtk_selection_data_set (selection_data, GDK_SELECTION_TYPE_STRING, 8,