diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-18 05:02:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-18 05:02:30 +0800 |
commit | 23583a50aa0dfe8e9a75bb3ed4f7d0132958ee8b (patch) | |
tree | 199f4b2c5c9ce3fd87458a720bda915fc1e3e846 | |
parent | 1a6a89e26527557cd09b186d1e47e7467db29e23 (diff) | |
download | gsoc2013-evolution-23583a50aa0dfe8e9a75bb3ed4f7d0132958ee8b.tar.gz gsoc2013-evolution-23583a50aa0dfe8e9a75bb3ed4f7d0132958ee8b.tar.zst gsoc2013-evolution-23583a50aa0dfe8e9a75bb3ed4f7d0132958ee8b.zip |
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
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-display.c | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 1afc37de19..497388c5cd 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -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. diff --git a/mail/mail-display.c b/mail/mail-display.c index 99e5710e57..ed51c52bad 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -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, |