From 3be97a657634f0855c78827f41369002ac89f5e3 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 29 Sep 2021 19:52:24 -0700 Subject: [PATCH] smyrna: remove unused gui.c globals --- cmd/smyrna/gui/gui.c | 6 ------ cmd/smyrna/gui/gui.h | 7 ------- 2 files changed, 13 deletions(-) diff --git a/cmd/smyrna/gui/gui.c b/cmd/smyrna/gui/gui.c index 532e92b49..c21c7655b 100644 --- a/cmd/smyrna/gui/gui.c +++ b/cmd/smyrna/gui/gui.c @@ -21,16 +21,10 @@ static char guibuffer[BUFSIZ]; //general purpose buffer -GdkWindow *window1; -GtkWidget *statusbar1; - GladeXML *xml; //global libglade vars GtkWidget *gladewidget; -GtkWidget *AttrWidgets[MAXIMUM_WIDGET_COUNT]; -GtkWidget *AttrLabels[MAXIMUM_WIDGET_COUNT]; int attr_widgets_modified[MAXIMUM_WIDGET_COUNT]; -int widgetcounter; //number of attributes counted dynamically, might be removed in the future attribute attr[MAXIMUM_WIDGET_COUNT]; void Color_Widget_bg(char *colorstring, GtkWidget * widget) diff --git a/cmd/smyrna/gui/gui.h b/cmd/smyrna/gui/gui.h index 78a8a8736..9a1920f68 100644 --- a/cmd/smyrna/gui/gui.h +++ b/cmd/smyrna/gui/gui.h @@ -25,17 +25,10 @@ extern "C" { #endif -//GtkWidget *window1; //main window - extern GdkWindow *window1; - extern GtkWidget *statusbar1; - extern GladeXML *xml; //global libglade vars extern GtkWidget *gladewidget; - extern GtkWidget *AttrWidgets[MAXIMUM_WIDGET_COUNT]; - extern GtkWidget *AttrLabels[MAXIMUM_WIDGET_COUNT]; extern int attr_widgets_modified[MAXIMUM_WIDGET_COUNT]; - extern int widgetcounter; //number of attributes counted dynamically, might be removed in the future extern attribute attr[MAXIMUM_WIDGET_COUNT]; int update_graph_properties(Agraph_t * graph); //updates graph from gui -- 2.40.0