]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused gui.c globals
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 30 Sep 2021 02:52:24 +0000 (19:52 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Oct 2021 02:58:24 +0000 (19:58 -0700)
cmd/smyrna/gui/gui.c
cmd/smyrna/gui/gui.h

index 532e92b491573024240fa32a6d3dfdb9d34b803c..c21c7655b9e24d9f9c13a765a987e02a5210a033 100644 (file)
 
 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)
index 78a8a873617037a5f99643faf42706361ac16a77..9a1920f688ef3aa6e6e89416e74322104d0766d3 100644 (file)
 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