StyleContext: Don't advise using invalidate()
authorDaniel Boles <dboles.src@gmail.com>
Mon, 21 May 2018 22:38:54 +0000 (23:38 +0100)
committerDaniel Boles <dboles.src@gmail.com>
Mon, 21 May 2018 22:39:47 +0000 (23:39 +0100)
It doesn't exist anymore! Also, set_display() is not needed/used in the
demo cited, and we were still referring to gtk3-demo, not gtk4-demo.

gtk/gtkstylecontext.c

index 54eca205f17234f425360a564ec512d3b30c6165..53888073f57c65f034a11c9cc99d5a27ec6456c1 100644 (file)
  *
  * If you are using the theming layer standalone, you will need to set a
  * widget path and a display yourself to the created style context through
- * gtk_style_context_set_path() and gtk_style_context_set_display(), as well
- * as updating the context yourself using gtk_style_context_invalidate()
- * whenever any of the conditions change, such as a change in the
- * #GtkSettings:gtk-theme-name setting or a hierarchy change in the rendered
- * widget. See the “Foreign drawing“ example in gtk3-demo.
+ * gtk_style_context_set_path() and possibly gtk_style_context_set_display().
+ * See the “Foreign drawing“ example in gtk4-demo.
  *
  * # Style Classes # {#gtkstylecontext-classes}
  *