aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2004-01-14 10:57:06 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-14 10:57:06 +0800
commitb7d6b7be91f2348427d1900b011b069abd0fa40a (patch)
tree9badff36acbae462729d0f80c4f64f9d3a64f412
parentaedeb2fd7930d7e0779f2eb34f63f65bcf764ad7 (diff)
downloadgsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.tar
gsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.tar.gz
gsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.tar.bz2
gsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.tar.lz
gsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.tar.xz
gsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.tar.zst
gsoc2013-evolution-b7d6b7be91f2348427d1900b011b069abd0fa40a.zip
Pass the parent window, fixing a crasher. Bug #52161.
2004-01-13 Ross Burton <ross@burtonini.com> * em-folder-browser.c (emfb_empty_trash): Pass the parent window, fixing a crasher. Bug #52161. svn path=/trunk/; revision=24209
-rw-r--r--mail/em-folder-browser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 27cca529ad..eb31568114 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -305,7 +305,7 @@ void em_folder_browser_show_preview(EMFolderBrowser *emfb, gboolean state)
/*do_message_selected (emfb);*/
/*set_cursor_pos (emfb, y);*/
} else {
- em_format_format((EMFormat *)emfb->view.preview, NULL);
+ em_format_format((EMFormat *)emfb->view.preview, NULL, NULL, NULL);
gtk_widget_hide(emfb->priv->preview);
/*
mail_display_set_message (emfb->mail_display, NULL, NULL, NULL);
@@ -590,7 +590,7 @@ emfb_empty_trash(BonoboUIComponent *uid, void *data, const char *path)
{
EMFolderView *emfv = data;
- em_utils_empty_trash ((GtkWidget *) emfv);
+ em_utils_empty_trash (gtk_widget_get_toplevel ((GtkWidget *) emfv));
}
static void