[gtk+] docs: fix the display of message dialog



commit 686de287017ab7ece13921a37349bc7aa6dfd673
Author: William Jon McCann <william jon mccann gmail com>
Date:   Thu Feb 13 14:51:31 2014 -0500

    docs: fix the display of message dialog

 docs/tools/widgets.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index 66d315a..bfba4a9 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),
-                                "<b>Message Dialog</b>\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);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]