]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'attr_file' field
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Oct 2021 02:53:28 +0000 (19:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 20 Oct 2021 23:59:04 +0000 (16:59 -0700)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewport.c

index 248a0092bcf5e3555000a29050d38f93461a59e0..56c9f5f8f3d05fedc3f488570754c093afb45e16 100644 (file)
@@ -646,7 +646,6 @@ typedef struct
        char *glade_file;
        char* temp;
        char *template_file;
-       char *attr_file;
        GtkComboBox *graphComboBox;     /*pointer to graph combo box at top right */
        ArcBall_t *arcball;
        keymap_t keymap;
index 7b57845bf28ce6fc9e451c631add8622942e6e18..3fe1b8ef11ac2a45d211534bb52119fa43e1f088 100644 (file)
@@ -256,12 +256,10 @@ static void get_data_dir(void)
     if (view->template_file) {
        free(view->template_file);
        free(view->glade_file);
-       free(view->attr_file);
     }
 
     view->template_file = strdup(smyrnaPath("template.dot"));
     view->glade_file = strdup(smyrnaPath("smyrna.glade"));
-    view->attr_file = strdup(smyrnaPath("attrs.txt"));
 }
 
 void init_viewport(ViewInfo * view)