]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused save_graph_clicked
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 24 Sep 2021 00:59:06 +0000 (17:59 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 28 Sep 2021 01:14:00 +0000 (18:14 -0700)
cmd/smyrna/gui/callbacks.c
cmd/smyrna/gui/callbacks.h

index 8df46728e3ca63dfa7f3b126a666089837aa58e7..0503a78982ac74a36bf78a422465dbc2aad5b47d 100644 (file)
 
 //Menu Items 
 
-void save_graph_clicked(GtkWidget * widget, gpointer user_data)
-{
-    (void)widget;
-    (void)user_data;
-
-    if (view->activeGraph > -1)
-       save_graph_with_file_name(view->g[view->activeGraph], NULL);
-}
-
 void save_as_graph_clicked(GtkWidget * widget, gpointer user_data)
 {
     (void)widget;
index b1c3768a8aa8201265f37ef03bf1a65473996184..b50a1a55a36d861bdfadcca90d325e266f903fdd 100644 (file)
@@ -24,7 +24,6 @@ extern "C" {
 #define _BB
 #endif
 
-    _BB void save_graph_clicked(GtkWidget * widget, gpointer user_data);
     _BB void save_as_graph_clicked(GtkWidget * widget, gpointer user_data);
     _BB void remove_graph_clicked(GtkWidget * widget, gpointer user_data);
     void on_newNode(GtkWidget * button, gpointer user_data);