From: Matthew Fernandez Date: Thu, 30 Sep 2021 02:52:24 +0000 (-0700) Subject: smyrna: remove unused gui.c globals X-Git-Tag: 2.49.2~25^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3be97a657634f0855c78827f41369002ac89f5e3;p=graphviz smyrna: remove unused gui.c globals --- 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