]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'frmObjectBtnOK_clicked'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 30 Sep 2021 02:56:23 +0000 (19:56 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 2 Oct 2021 02:58:24 +0000 (19:58 -0700)
cmd/smyrna/gui/callbacks.c
cmd/smyrna/gui/callbacks.h

index 1339f510f416621cdd7da1ea30dd2f9dc6c0521f..b6aa9c1842868d87457405eaa2ba4a7c11fb95ce 100644 (file)
@@ -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;
index 5755e83bc8569c2fbb7cb47267399f2050a9a2f0..d6919d36b3ef8fad6923d8d5a3a71b83cc2dc51a 100644 (file)
@@ -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