diff options
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r-- | gtk/gtkstyle.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 1d31d1ef03..cf88d1d07a 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -858,6 +858,16 @@ gtk_style_new (void) return style; } +/** + * gtk_style_has_context: + * @style: a #GtkStyle + * + * Returns whether @style has an associated #GtkStyleContext. + * + * Returns: %TRUE if @style has a #GtkStyleContext + * + * Since: 3.0 + */ gboolean gtk_style_has_context (GtkStyle *style) { |