[gtk+] stylecontext: Remove gtk_gradient_resolve_for_context()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] stylecontext: Remove gtk_gradient_resolve_for_context()
- Date: Mon, 17 Oct 2016 11:00:53 +0000 (UTC)
commit a87bdc47c72d8c1ad4025a28652216cb57f88b49
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Oct 17 11:02:16 2016 +0100
stylecontext: Remove gtk_gradient_resolve_for_context()
Just like we remove gtk_gradient_resolve().
gtk/gtkstylecontext.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 6c48a7f..ecf0eff 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -2482,21 +2482,6 @@ G_GNUC_END_IGNORE_DEPRECATIONS
return attributes;
}
-cairo_pattern_t *
-gtk_gradient_resolve_for_context (GtkGradient *gradient,
- GtkStyleContext *context)
-{
- GtkStyleContextPrivate *priv = context->priv;
-
- g_return_val_if_fail (gradient != NULL, NULL);
- g_return_val_if_fail (GTK_IS_STYLE_CONTEXT (context), NULL);
-
- return _gtk_gradient_resolve_full (gradient,
- GTK_STYLE_PROVIDER_PRIVATE (priv->cascade),
- gtk_style_context_lookup_style (context),
- priv->parent ? gtk_style_context_lookup_style (priv->parent) : NULL);
-}
-
/**
* GtkStyleContextPrintFlags:
* @GTK_STYLE_CONTEXT_PRINT_RECURSE: Print the entire tree of
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]