From d7b64c63e0d4205b122eae5086cac71b77756ace Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 19 Oct 2014 23:28:34 -0400 Subject: [PATCH] Improve tooltip-text/markup docs Clarify priorities between the two, https://bugzilla.gnome.org/show_bug.cgi?id=681185 --- gtk/gtkwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index a993db3f4d..ee4e316718 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1397,6 +1397,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS * will automatically be set to %TRUE and there will be taken care of * #GtkWidget::query-tooltip in the default signal handler. * + * Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup + * are set, the last one wins. + * * Since: 2.12 */ g_object_class_install_property (gobject_class, @@ -1418,6 +1421,9 @@ G_GNUC_END_IGNORE_DEPRECATIONS * will automatically be set to %TRUE and there will be taken care of * #GtkWidget::query-tooltip in the default signal handler. * + * Note that if both #GtkWidget:tooltip-text and #GtkWidget:tooltip-markup + * are set, the last one wins. + * * Since: 2.12 */ g_object_class_install_property (gobject_class,