From: ellson Date: Tue, 6 Nov 2007 18:14:56 +0000 (+0000) Subject: don't crash on unfinished code X-Git-Tag: LAST_LIBGRAPH~32^2~5072 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e30bfafe895345ef7bd24e34bb058b63f3b6f463;p=graphviz don't crash on unfinished code --- diff --git a/plugin/gtk/callbacks.c b/plugin/gtk/callbacks.c index c55312c12..6d6d72f5e 100644 --- a/plugin/gtk/callbacks.c +++ b/plugin/gtk/callbacks.c @@ -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 }