]> granicus.if.org Git - graphviz/commitdiff
don't crash on unfinished code
authorellson <devnull@localhost>
Tue, 6 Nov 2007 18:14:56 +0000 (18:14 +0000)
committerellson <devnull@localhost>
Tue, 6 Nov 2007 18:14:56 +0000 (18:14 +0000)
plugin/gtk/callbacks.c

index c55312c120ccc183a668031670c29d2a15dbdb80..6d6d72f5e02c43dbbce284937d96eca148ba6abc 100644 (file)
@@ -207,11 +207,13 @@ load_store_with_attrs(GtkListStore *model, GVJ_t *job)
 
         gtk_list_store_clear(model);
 
+#if 0
         for (i = 0; i < attrs_len; i+=3) {
                 gtk_list_store_append(model, &iter);
                 gtk_list_store_set(model, &iter, 0, attrs[i], 1, g_strdup(attrs[i+1]), -1);
                 type = (gvattr_t)attrs[i+2];
         }
+#endif
 }