From b0f8f96ec5689f08819ac29b8e8c98afd4679d1d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 24 Dec 2022 14:07:42 -0800 Subject: [PATCH] smyrna: remove unused 'on_newNode' This has never been used. --- cmd/smyrna/gui/callbacks.c | 6 ------ cmd/smyrna/gui/callbacks.h | 1 - 2 files changed, 7 deletions(-) diff --git a/cmd/smyrna/gui/callbacks.c b/cmd/smyrna/gui/callbacks.c index b8f86a04e..a8356131a 100644 --- a/cmd/smyrna/gui/callbacks.c +++ b/cmd/smyrna/gui/callbacks.c @@ -91,12 +91,6 @@ void btn_fdp_clicked(GtkWidget * widget, gpointer user_data) btn_clicked(widget, GVK_FDP); } -void on_newNode(GtkWidget * button, gpointer user_data) -{ - (void)button; - (void)user_data; -} - void dlgOpenGraph_OK_Clicked(GtkWidget * button, gpointer data) { (void)button; diff --git a/cmd/smyrna/gui/callbacks.h b/cmd/smyrna/gui/callbacks.h index f3ce37891..105d4b41b 100644 --- a/cmd/smyrna/gui/callbacks.h +++ b/cmd/smyrna/gui/callbacks.h @@ -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 on_newNode(GtkWidget * button, 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); -- 2.40.0