From 232712351f2c5df3de1c02a40c49b5972bf9cc9f Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 29 Sep 2021 19:55:50 -0700 Subject: [PATCH] smyrna: remove unused 'on_dlgOpenGraph_btnOK_clicked' --- cmd/smyrna/gui/callbacks.c | 12 ------------ cmd/smyrna/gui/callbacks.h | 4 ---- 2 files changed, 16 deletions(-) diff --git a/cmd/smyrna/gui/callbacks.c b/cmd/smyrna/gui/callbacks.c index 1b2f61bbe..1339f510f 100644 --- a/cmd/smyrna/gui/callbacks.c +++ b/cmd/smyrna/gui/callbacks.c @@ -105,18 +105,6 @@ void dlgOpenGraph_OK_Clicked(GtkWidget * button, gpointer data) g_print("ok is pressed - %i was pressed\n", *(int *) data); } -//dlgOpenGraph btnOK clicked -void on_dlgOpenGraph_btnOK_clicked(GtkWidget * widget, gpointer user_data) -{ - (void)widget; - (void)user_data; - - if (update_graph_properties(view->g[view->activeGraph])) - gtk_dialog_response((GtkDialog *) - glade_xml_get_widget(xml, "dlgOpenGraph"), - GTK_RESPONSE_OK); -} - //dlgOpenGraph btncancelclicked void on_dlgOpenGraph_btncancel_clicked(GtkWidget * widget, gpointer user_data) diff --git a/cmd/smyrna/gui/callbacks.h b/cmd/smyrna/gui/callbacks.h index 73e8bcb13..5755e83bc 100644 --- a/cmd/smyrna/gui/callbacks.h +++ b/cmd/smyrna/gui/callbacks.h @@ -37,10 +37,6 @@ extern "C" { _BB void graph_select_change(GtkWidget * widget, gpointer user_data); _BB void mGraphPropertiesSlot(GtkWidget * widget, gpointer user_data); - -//dlgOpenGraph btnOK clicked - _BB void on_dlgOpenGraph_btnOK_clicked(GtkWidget * widget, - gpointer user_data); //dlgOpenGraph btncancelclicked _BB void on_dlgOpenGraph_btncancel_clicked(GtkWidget * widget, gpointer user_data); -- 2.40.0