[gtk+] csslookup: Remove useless cast
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] csslookup: Remove useless cast
- Date: Thu, 4 Aug 2016 18:40:18 +0000 (UTC)
commit 2f9b22243a087c224f25a72f0c028ed46d043b4e
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 4 17:32:05 2016 +0200
csslookup: Remove useless cast
The style passed to _gtk_css_lookup_resolve is already a
GtkCssStaticStyle.
gtk/gtkcsslookup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcsslookup.c b/gtk/gtkcsslookup.c
index 217d9a3..17e3f85 100644
--- a/gtk/gtkcsslookup.c
+++ b/gtk/gtkcsslookup.c
@@ -119,7 +119,7 @@ _gtk_css_lookup_resolve (GtkCssLookup *lookup,
{
if (lookup->values[i].value ||
_gtk_bitmask_get (lookup->missing, i))
- gtk_css_static_style_compute_value (GTK_CSS_STATIC_STYLE (style),
+ gtk_css_static_style_compute_value (style,
provider,
parent_style,
i,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]