(request_password): Make sure password_dialog is
NULLified when the dialog is destroyed in any case, using g_object_add_weak_pointer(). Prevents a crash that could happen if the shell would quit with the password dialog still up. svn path=/trunk/; revision=21133
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2003-05-08 Ettore Perazzoli <ettore@ximian.com>
|
||||||
|
|
||||||
|
* mail-session.c (request_password): Make sure password_dialog is
|
||||||
|
NULLified when the dialog is destroyed in any case, using
|
||||||
|
g_object_add_weak_pointer(). Prevents a crash that could happen
|
||||||
|
if the shell would quit with the password dialog still up.
|
||||||
|
|
||||||
2003-05-07 Jeffrey Stedfast <fejj@ximian.com>
|
2003-05-07 Jeffrey Stedfast <fejj@ximian.com>
|
||||||
|
|
||||||
* mail-display.c (mail_display_render): Make sure that we haven't
|
* mail-display.c (mail_display_render): Make sure that we haven't
|
||||||
|
@ -985,6 +985,7 @@ mail_session_set_interactive (gboolean interactive)
|
|||||||
if (password_dialog) {
|
if (password_dialog) {
|
||||||
d(printf ("Destroying password dialogue\n"));
|
d(printf ("Destroying password dialogue\n"));
|
||||||
gtk_widget_destroy ((GtkWidget *) password_dialog);
|
gtk_widget_destroy ((GtkWidget *) password_dialog);
|
||||||
|
password_dialog = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* same for pending user messages */
|
/* same for pending user messages */
|
||||||
|
Reference in New Issue
Block a user