- {
- GtkWidget *vbox2, *info;
-
- /* message */
- vbox2 = gtk_vbox_new (FALSE, 0);
- gtk_box_pack_start (GTK_BOX (hbox), vbox2, TRUE, TRUE, 0);
- info = gtk_label_new ("An assertion failed!");
- gtk_box_pack_start (GTK_BOX(vbox2), info, TRUE, TRUE, 8);
-
- /* assert message */
- dlg->message = gtk_label_new (NULL);
- gtk_label_set_selectable (GTK_LABEL (dlg->message), TRUE);
- gtk_label_set_line_wrap (GTK_LABEL (dlg->message), TRUE);
- gtk_label_set_justify (GTK_LABEL (dlg->message), GTK_JUSTIFY_LEFT);
- gtk_widget_set_size_request (GTK_WIDGET(dlg->message), 450, -1);
-
- gtk_box_pack_end (GTK_BOX(vbox2), GTK_WIDGET(dlg->message), TRUE, TRUE, 8);
- }
+ /* icon */
+ image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_DIALOG);
+ gtk_box_pack_start (GTK_BOX(hbox), image, FALSE, FALSE, 12);