]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'glade_file' field
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Oct 2021 02:54:34 +0000 (19:54 -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 56c9f5f8f3d05fedc3f488570754c093afb45e16..d930ddae7d6f999d18da1314a26f078e54940ec5 100644 (file)
@@ -643,7 +643,6 @@ typedef struct
        int initFile;
        int drawSplines;
        colorschemaset *colschms;
-       char *glade_file;
        char* temp;
        char *template_file;
        GtkComboBox *graphComboBox;     /*pointer to graph combo box at top right */
index 3fe1b8ef11ac2a45d211534bb52119fa43e1f088..42420a1a46af7f3490480e71bc025e5326d9bc7a 100644 (file)
@@ -255,11 +255,9 @@ static void get_data_dir(void)
 {
     if (view->template_file) {
        free(view->template_file);
-       free(view->glade_file);
     }
 
     view->template_file = strdup(smyrnaPath("template.dot"));
-    view->glade_file = strdup(smyrnaPath("smyrna.glade"));
 }
 
 void init_viewport(ViewInfo * view)