From 686de287017ab7ece13921a37349bc7aa6dfd673 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Thu, 13 Feb 2014 14:51:31 -0500 Subject: [PATCH] docs: fix the display of message dialog --- docs/tools/widgets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index 66d315a5c5..bfba4a9877 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -847,8 +847,8 @@ create_message_dialog (void) GTK_BUTTONS_OK, NULL); gtk_window_set_icon_name (GTK_WINDOW (widget), "edit-copy"); - gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (widget), - "Message Dialog\n\nWith secondary text"); + gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (widget), "Message Dialog"); + gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (widget), "%s", "With secondary text"); return new_widget_info ("messagedialog", widget, ASIS); }