mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
style context: Avoid a compiler warning
This commit is contained in:
parent
571704824f
commit
d930ea7c1f
@ -1354,7 +1354,7 @@ gtk_style_context_list_classes (GtkStyleContext *context)
|
||||
|
||||
classes = gtk_css_node_list_classes (context->priv->cssnode, &n_classes);
|
||||
for (i = n_classes; i > 0; i--)
|
||||
classes_list = g_list_prepend (classes_list, g_quark_to_string (classes[i - 1]));
|
||||
classes_list = g_list_prepend (classes_list, (gchar *)g_quark_to_string (classes[i - 1]));
|
||||
|
||||
return classes_list;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user