From 9a18596891f200b76e3d01fc1a4be4d46104284d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 29 Sep 2021 19:56:23 -0700 Subject: [PATCH] smyrna: remove unused 'frmObjectBtnOK_clicked' --- cmd/smyrna/gui/callbacks.c | 9 --------- cmd/smyrna/gui/callbacks.h | 6 ------ 2 files changed, 15 deletions(-) diff --git a/cmd/smyrna/gui/callbacks.c b/cmd/smyrna/gui/callbacks.c index 1339f510f..b6aa9c184 100644 --- a/cmd/smyrna/gui/callbacks.c +++ b/cmd/smyrna/gui/callbacks.c @@ -117,15 +117,6 @@ void on_dlgOpenGraph_btncancel_clicked(GtkWidget * widget, GTK_RESPONSE_CANCEL); } -void frmObjectBtnOK_clicked(GtkWidget * widget, gpointer user_data) -{ - (void)widget; - (void)user_data; - - deselect_all(view->g[view->activeGraph]); - gtk_widget_hide(glade_xml_get_widget(xml, "frmObject")); -} - void frmObjectBtnCancel_clicked(GtkWidget * widget, gpointer user_data) { (void)widget; diff --git a/cmd/smyrna/gui/callbacks.h b/cmd/smyrna/gui/callbacks.h index 5755e83bc..d6919d36b 100644 --- a/cmd/smyrna/gui/callbacks.h +++ b/cmd/smyrna/gui/callbacks.h @@ -43,12 +43,6 @@ extern "C" { //MENU - -//frm Object OK button -//hides frmObject , set changed values to selected objects - _BB void frmObjectBtnOK_clicked(GtkWidget * widget, - gpointer user_data); - //frm Object Cancel button //hides frmObject , ignores changed values -- 2.40.0