aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c5
1 files changed, 4 insertions, 1 deletions
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,