From a017031beed209e1f6ab1c0a91072c5f77fe584c Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Fri, 17 Apr 2015 10:10:58 -0500 Subject: [PATCH] GtkMessageDialog: Minor documentation update Icons went away in 3.12 https://bugzilla.gnome.org/show_bug.cgi?id=748061 --- gtk/gtkenums.h | 2 +- gtk/gtkmessagedialog.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 6322f126fa..c8dc5b5f2f 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -270,7 +270,7 @@ typedef enum * @GTK_MESSAGE_WARNING: Non-fatal warning message * @GTK_MESSAGE_QUESTION: Question requiring a choice * @GTK_MESSAGE_ERROR: Fatal error message - * @GTK_MESSAGE_OTHER: None of the above, doesn’t get an icon + * @GTK_MESSAGE_OTHER: None of the above * * The type of message being displayed in the dialog. */ diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index 653f3fd9e1..f20674a82f 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -580,9 +580,8 @@ gtk_message_dialog_get_property (GObject *object, * @message_format: (allow-none): printf()-style format string, or %NULL * @...: arguments for @message_format * - * Creates a new message dialog, which is a simple dialog with an icon - * indicating the dialog type (error, warning, etc.) and some text the - * user may want to see. When the user clicks a button a “response” + * Creates a new message dialog, which is a simple dialog with some text + * the user may want to see. When the user clicks a button a “response” * signal is emitted with response IDs from #GtkResponseType. See * #GtkDialog for more details. * @@ -642,8 +641,7 @@ gtk_message_dialog_new (GtkWindow *parent, * @message_format: (allow-none): printf()-style format string, or %NULL * @...: arguments for @message_format * - * Creates a new message dialog, which is a simple dialog with an icon - * indicating the dialog type (error, warning, etc.) and some text which + * Creates a new message dialog, which is a simple dialog with some text that * is marked up with the [Pango text markup language][PangoMarkupFormat]. * When the user clicks a button a “response” signal is emitted with * response IDs from #GtkResponseType. See #GtkDialog for more details.