]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkliststore.c
Revert "toolbar: Don't special-case RTL toolbar child positions anymore"
[~andy/gtk] / gtk / gtkliststore.c
index 2d49a73f53e5257dd9414d20e3ff8373b308763c..467bac0f15dc4da7b0a98336a01fe22f63952e7c 100644 (file)
@@ -2437,10 +2437,12 @@ list_store_start_element (GMarkupParseContext *context,
   else if (strcmp (element_name, "row") == 0)
     ;
   else if (strcmp (element_name, "column") == 0)
-    for (i = 0; names[i]; i++)
-      if (strcmp (names[i], "type") == 0)
-       data->column_type_names = g_slist_prepend (data->column_type_names,
-                                                  g_strdup (values[i]));
+    {
+      for (i = 0; names[i]; i++)
+        if (strcmp (names[i], "type") == 0)
+          data->column_type_names = g_slist_prepend (data->column_type_names,
+                                                     g_strdup (values[i]));
+    }
   else if (strcmp (element_name, "columns") == 0)
     ;
   else if (strcmp (element_name, "data") == 0)