aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-19 15:12:54 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-19 15:12:54 +0800
commit3f3cb88b8e27d8926701bac89ec8773f4bf99d83 (patch)
tree5b315b757c52a429e754a79f91b23c70c9388bf0 /mail/em-folder-browser.c
parent04e3d88bcc495709386e3e8bc092d86b7cd183cb (diff)
downloadgsoc2013-evolution-3f3cb88b8e27d8926701bac89ec8773f4bf99d83.tar.gz
gsoc2013-evolution-3f3cb88b8e27d8926701bac89ec8773f4bf99d83.tar.zst
gsoc2013-evolution-3f3cb88b8e27d8926701bac89ec8773f4bf99d83.zip
get the toplevel widget here too, similar to bug 52161.
2004-01-19 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_folder_expunge): get the toplevel widget here too, similar to bug 52161. ** See bug #52956 * em-composer-prefs.c (sig_edit_cb): The fileentry_add_script_script widget is a GnomeFileEntry not a GtkEntry. (sig_add_script_response): use get_full_path rather than snooping the gtkentry. Also, don't close/quit the script dialogue on a bad name. svn path=/trunk/; revision=24301
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 5b76eeef23..43d42e433d 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -534,7 +534,7 @@ emfb_folder_expunge(BonoboUIComponent *uid, void *data, const char *path)
{
EMFolderBrowser *emfb = data;
- em_utils_expunge_folder ((GtkWidget *) emfb, emfb->view.folder);
+ em_utils_expunge_folder(gtk_widget_get_toplevel((GtkWidget *)emfb), emfb->view.folder);
}
static void