Commit 574efdf1 authored by daniel_e's avatar daniel_e
Browse files

(FileErrorDialog): As everywhere else, use references not pointers to widgets

we didn't new.
parent 76be31d8
......@@ -70,9 +70,9 @@ FileErrorDialog::FileErrorDialog(Gtk::Window& parent, const Glib::ustring& messa
buffer_end = buffer->insert(buffer_end, "\n");
}
Box *const box = get_vbox();
Box& box = *get_vbox();
Frame *const frame = new Frame();
box->pack_start(*manage(frame), PACK_EXPAND_WIDGET);
box.pack_start(*manage(frame), PACK_EXPAND_WIDGET);
frame->set_border_width(5);
frame->set_shadow_type(SHADOW_IN);
......
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