]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'dlgOpenGraph_OK_Clicked'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Dec 2022 22:11:05 +0000 (14:11 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Dec 2022 22:11:05 +0000 (14:11 -0800)
The last use of this was removed in 7d1170f8d5208c296db891f5d93bbb158b1c1b56.

cmd/smyrna/gui/callbacks.c
cmd/smyrna/gui/callbacks.h

index a8356131ad9bd50212b6dc81598f194164f32e85..4138790f97954eaa8d1a264a671f5c4e3de01f62 100644 (file)
@@ -91,13 +91,6 @@ void btn_fdp_clicked(GtkWidget * widget, gpointer user_data)
     btn_clicked(widget, GVK_FDP);
 }
 
-void dlgOpenGraph_OK_Clicked(GtkWidget * button, gpointer data)
-{
-    (void)button;
-
-    g_print("ok is pressed - %i was pressed\n", *(int *) data);
-}
-
 /*console output widgets*/
 _BB void on_clearconsolebtn_clicked(GtkWidget * widget, gpointer user_data)
 {
index 105d4b41b46645027a60e4135b200a3a286f7f67..afd877007e93b0eddbf0bd1ba99c71ac597ff5f5 100644 (file)
@@ -22,7 +22,6 @@
 
     _BB void save_as_graph_clicked(GtkWidget * widget, gpointer user_data);
     _BB void remove_graph_clicked(GtkWidget * widget, gpointer user_data);
-    void dlgOpenGraph_OK_Clicked(GtkWidget * button, gpointer data);
     _BB void btn_dot_clicked(GtkWidget * widget, gpointer user_data);
     _BB void btn_neato_clicked(GtkWidget * widget, gpointer user_data);
     _BB void btn_twopi_clicked(GtkWidget * widget, gpointer user_data);