Bug 549354 – Crash trying to open a file on a remote folder
2008-08-26 Matthias Clasen <mclasen@redhat.com> Bug 549354 – Crash trying to open a file on a remote folder * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle the fact that parent may be NULL without crashing. svn path=/trunk/; revision=21206
This commit is contained in:
committed by
Matthias Clasen
parent
3e04e7d52a
commit
4c6577fb8b
@ -1,3 +1,10 @@
|
||||
2008-08-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
Bug 549354 – Crash trying to open a file on a remote folder
|
||||
|
||||
* gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle
|
||||
the fact that parent may be NULL without crashing.
|
||||
|
||||
2008-08-25 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* modules/printbackends/cups/gtkprintbackendcups.c: Replace
|
||||
|
||||
@ -990,7 +990,7 @@ error_message_with_parent (GtkWindow *parent,
|
||||
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
|
||||
"%s", detail);
|
||||
|
||||
if (parent->group)
|
||||
if (parent && parent->group)
|
||||
gtk_window_group_add_window (parent->group, GTK_WINDOW (dialog));
|
||||
|
||||
gtk_dialog_run (GTK_DIALOG (dialog));
|
||||
|
||||
Reference in New Issue
Block a user