Commit 6ade58f6 authored by Christian Hergert's avatar Christian Hergert

gui: be defensive against NULL error

Related #1028
parent ceb1c710
......@@ -1061,7 +1061,9 @@ ide_frame_close_page_cb (GObject *object,
if (!ide_page_agree_to_close_finish (page, result, &error))
{
g_message ("%s", error->message);
g_message ("%s does not agree to close: %s",
G_OBJECT_TYPE_NAME (page),
error ? error->message : "No reason");
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment