summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjell.ahlstedt@bredband.net>2013-10-07 15:33:31 +0200
committerMurray Cumming <murrayc@murrayc.com>2014-01-28 16:02:07 +0100
commit3fa9846399fd223041dcfd188d1685d442149d59 (patch)
treeb9600f2a63aad82ef18092b5557ba49ae11f34da
parent17d45484d7ae5a7e717a42492492a7a7c4a61414 (diff)
downloadgtk+-3fa9846399fd223041dcfd188d1685d442149d59.tar.gz
Improve doc of gtk_widget_override_color()
Mention that it's not recursively applied to a container's children. https://bugzilla.gnome.org/show_bug.cgi?id=566945
-rw-r--r--gtk/gtkwidget.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 38c3e353b0..fb6982da02 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -9064,6 +9064,11 @@ _gtk_widget_get_modifier_properties (GtkWidget *widget)
*
* All other style values are left untouched.
*
+ * This function does not act recursively. Setting the color of a
+ * container does not affect its children. Note that some widgets that
+ * you may not think of as containers, for instance #GtkButton<!-- -->s,
+ * are actually containers.
+ *
* <note><para>
* This API is mostly meant as a quick way for applications to
* change a widget appearance. If you are developing a widgets