summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dywan <christian@lanedo.com>2009-09-30 08:45:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2009-09-30 08:45:30 -0400
commit31771cc6402ac4ae637d0a126295ba0dc6b879bc (patch)
treed72427c606a1749fb889e77b120ecb5626453fc8
parent2518fbdc02bd1e58631bb6379539d5e343dc2300 (diff)
downloadgtk+-31771cc6402ac4ae637d0a126295ba0dc6b879bc.tar.gz
Add a note about tooltip theming
This should help to reduce the amount of confusion about how to make a tooltip window appear like a tooltip. Bug 596080.
-rw-r--r--gtk/gtkwidget.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 450ab17029..5677fd73f4 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -10603,6 +10603,9 @@ gtk_widget_real_set_has_tooltip (GtkWidget *widget,
* 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