From: Matthew Fernandez Date: Thu, 14 Oct 2021 02:54:34 +0000 (-0700) Subject: smyrna: remove unused 'glade_file' field X-Git-Tag: 2.49.3~4^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b19fb47803d9373e996a7da20db247db48703a4c;p=graphviz smyrna: remove unused 'glade_file' field --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 56c9f5f8f..d930ddae7 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -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 */ diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 3fe1b8ef1..42420a1a4 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -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)