GtkStyleContext: Fix compiler warning.

This commit is contained in:
Carlos Garnacho 2010-05-04 19:46:58 +02:00
parent 17908880b5
commit bd9bd1310b

View File

@ -488,11 +488,13 @@ gtk_style_context_list_child_classes (GtkStyleContext *context)
while (link)
{
GtkChildClass *link_class;
const gchar *child_class;
link_class = link->data;
classes = g_list_prepend (classes,
g_quark_to_string (link_class->class_quark));
link = link->next;
child_class = g_quark_to_string (link_class->class_quark);
classes = g_list_prepend (classes, child_class);
}
return classes;