summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-07-15 12:37:58 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-07-15 13:19:55 -0400
commit31a2cea4b1901a51c9d5e72d715db21de669ee47 (patch)
treee0e5536c0387f918d1e0ba2ff2c807c81aa8e4fb /gtk/gtkinfobar.c
parent168f425df0b7c0eb878050385c1aa35ab0fd504b (diff)
downloadgtk+-31a2cea4b1901a51c9d5e72d715db21de669ee47.tar.gz
Fix infobar docs to not mention type colors
The theme may not use colors to distinguish the info bar message types.
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 6df496d01c..d1e3a1c48e 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -68,8 +68,8 @@
*
* Similar to #GtkMessageDialog, the contents of a #GtkInfoBar can by
* classified as error message, warning, informational message, etc,
- * by using gtk_info_bar_set_message_type(). GTK+ uses the message type
- * to determine the background color of the message area.
+ * by using gtk_info_bar_set_message_type(). GTK+ may use the message type
+ * to determine how the message is displayed.
*
* <example>
* <title>Simple GtkInfoBar usage.</title>
@@ -392,17 +392,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
*
* The type of the message.
*
- * The type is used to determine the colors to use in the info bar.
- * The following symbolic color names can by used to customize
- * these colors:
- * "info_fg_color", "info_bg_color",
- * "warning_fg_color", "warning_bg_color",
- * "question_fg_color", "question_bg_color",
- * "error_fg_color", "error_bg_color".
- * "other_fg_color", "other_bg_color".
- *
- * If the type is #GTK_MESSAGE_OTHER, no info bar is painted but the
- * colors are still set.
+ * The type may be used to determine the appearance of the info bar.
*
* Since: 2.18
*/