[gtk/css-lookup-caching] fixup css provider printing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/css-lookup-caching] fixup css provider printing
- Date: Fri, 14 Feb 2020 03:03:28 +0000 (UTC)
commit 362f84451d753dd7095fae575730ca4e1348ea59
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 13 22:02:04 2020 -0500
fixup css provider printing
gtk/gtkcssprovider.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index fb80d7d97f..225243eb12 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -1362,10 +1362,10 @@ compare_properties (gconstpointer a, gconstpointer b, gpointer style)
{
const guint *ua = a;
const guint *ub = b;
- GtkCssLookupValue *styles = style;
+ GtkCssLookupValue **styles = style;
- return strcmp (_gtk_style_property_get_name (GTK_STYLE_PROPERTY (_gtk_css_style_property_lookup_by_id
(styles[*ua].id))),
- _gtk_style_property_get_name (GTK_STYLE_PROPERTY (_gtk_css_style_property_lookup_by_id
(styles[*ub].id))));
+ return strcmp (_gtk_style_property_get_name (GTK_STYLE_PROPERTY (_gtk_css_style_property_lookup_by_id
(styles[*ua]->id))),
+ _gtk_style_property_get_name (GTK_STYLE_PROPERTY (_gtk_css_style_property_lookup_by_id
(styles[*ub]->id))));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]