Commit 20470676 authored by Philippe Rouquier's avatar Philippe Rouquier

Fix a crash when there is no error

parent 9f83b226
......@@ -238,6 +238,9 @@ brasero_src_image_update (BraseroSrcImage *self)
goto end;
else if (result != BRASERO_BURN_OK) {
if (!error)
goto end;
/* Translators: %s is a path and image refers to a disc image */
string = g_strdup_printf (_("\"%s\": unknown image type"), path);
gtk_widget_set_tooltip_text (GTK_WIDGET (self), error->message);
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