stylecontext: Fix list_classes() after optimization

Otherwise a junk value is returned.
This commit is contained in:
Garrett Regier 2015-09-11 09:46:34 -07:00
parent 6d29c1db92
commit 6118893a4e

View File

@ -1391,7 +1391,7 @@ GList *
gtk_style_context_list_classes (GtkStyleContext *context) gtk_style_context_list_classes (GtkStyleContext *context)
{ {
GtkStyleContextPrivate *priv; GtkStyleContextPrivate *priv;
GList *classes_list; GList *classes_list = NULL;
const GQuark *classes; const GQuark *classes;
guint n_classes, i; guint n_classes, i;
const gchar *quark_str; const gchar *quark_str;