]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove 'attr_widgets_modified' that is never read
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 30 Sep 2021 02:53:36 +0000 (19:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Oct 2021 02:58:24 +0000 (19:58 -0700)
cmd/smyrna/gui/callbacks.c
cmd/smyrna/gui/gui.c
cmd/smyrna/gui/gui.h

index 0503a78982ac74a36bf78a422465dbc2aad5b47d..262921dd8d052a478078cefad44a5746d0113ba7 100644 (file)
@@ -133,7 +133,6 @@ void attr_widgets_modifiedSlot(GtkWidget * widget, gpointer user_data)
 {
     (void)widget;
 
-    attr_widgets_modified[*(int *) user_data] = 1;
     g_print("attr changed signal..incoming data : %i\n",
            *(int *) user_data);
 }
index c21c7655b9e24d9f9c13a765a987e02a5210a033..9cb4db4204ec6b69f48ffc5ad9716aa74c911b12 100644 (file)
@@ -24,7 +24,6 @@ static char guibuffer[BUFSIZ];        //general purpose buffer
 GladeXML *xml;                 //global libglade vars
 GtkWidget *gladewidget;
 
-int attr_widgets_modified[MAXIMUM_WIDGET_COUNT];
 attribute attr[MAXIMUM_WIDGET_COUNT];
 
 void Color_Widget_bg(char *colorstring, GtkWidget * widget)
index 9a1920f688ef3aa6e6e89416e74322104d0766d3..1626852e5d5f0ca6888f8d5532e34b60e6edbaee 100644 (file)
@@ -28,7 +28,6 @@ extern "C" {
     extern GladeXML *xml;      //global libglade vars
     extern GtkWidget *gladewidget;
 
-    extern int attr_widgets_modified[MAXIMUM_WIDGET_COUNT];
     extern attribute attr[MAXIMUM_WIDGET_COUNT];
 
     int update_graph_properties(Agraph_t * graph);     //updates graph from gui