[gtk+/gtk-3-22] Widget: Fix outdated comments about tooltips
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] Widget: Fix outdated comments about tooltips
- Date: Tue, 15 Aug 2017 18:18:25 +0000 (UTC)
commit 3249b351af50252a5d40b028f1f36acf2db293fc
Author: Daniel Boles <dboles src gnome org>
Date: Tue Aug 15 02:11:19 2017 +0100
Widget: Fix outdated comments about tooltips
They are not usually yellow anymore, the previous advice about how to
style them was for pre-3.20 versions, and the immediate replacement (CSS
class .tooltip) does not seem ready for primetime.
https://bugzilla.gnome.org/show_bug.cgi?id=784421
gtk/gtkwidget.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ced572d..7597d05 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -15227,15 +15227,12 @@ gtk_widget_real_set_has_tooltip (GtkWidget *widget,
* @widget: a #GtkWidget
* @custom_window: (allow-none): a #GtkWindow, or %NULL
*
- * Replaces the default, usually yellow, window used for displaying
+ * Replaces the default window used for displaying
* tooltips with @custom_window. GTK+ will take care of showing and
* hiding @custom_window at the right moment, to behave likewise as
* the default tooltip window. If @custom_window is %NULL, the default
* tooltip window will be used.
*
- * If the custom window should have the default theming it needs to
- * have the name “gtk-tooltip”, see gtk_widget_set_name().
- *
* Since: 2.12
*/
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]