summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleprovider.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-13 11:19:49 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-05-13 11:20:06 -0400
commit0d8c1c9c0992525d2a3250df65c9b5300e33c5ba (patch)
tree7e90f3e028be4e2beb435ec6f1df56a080a17a2e /gtk/gtkstyleprovider.h
parent63288829b06785591f09af84f3ba70287229fbf3 (diff)
downloadgtk+-0d8c1c9c0992525d2a3250df65c9b5300e33c5ba.tar.gz
Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docs
Explain possible gotcha with catch-all rules.
Diffstat (limited to 'gtk/gtkstyleprovider.h')
-rw-r--r--gtk/gtkstyleprovider.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h
index ef5c3555ce..a33ce4345a 100644
--- a/gtk/gtkstyleprovider.h
+++ b/gtk/gtkstyleprovider.h
@@ -40,6 +40,11 @@ G_BEGIN_DECLS
*
* The priority used for default style information
* that is used in the absence of themes.
+ *
+ * Note that this is not very useful for providing default
+ * styling for custom style classes - themes are likely to
+ * override styling provided at this priority with
+ * catch-all `* {...}` rules.
*/
#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1