]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'on_attrSearchBtn_clicked'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Nov 2021 04:48:07 +0000 (20:48 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Nov 2021 00:09:10 +0000 (16:09 -0800)
cmd/smyrna/gui/frmobjectui.c
cmd/smyrna/gui/frmobjectui.h

index 8eea35c26ce9ad8195fe8ca99e7a4bd38683c486..49f13fb88a572a946fd59fb330b3ae6881cdcc05 100644 (file)
@@ -759,18 +759,3 @@ static void gvpr_select(char *attr, char *regex_str, int objType)
     free(argv);
     set_header_text();
 }
-
-
-_BB void on_attrSearchBtn_clicked(GtkWidget * widget, gpointer user_data)
-{
-
-    char *attr =
-       (char *) gtk_entry_get_text((GtkEntry *)
-                                   glade_xml_get_widget(xml, "txtAttr"));
-    char *regex_str =
-       (char *) gtk_entry_get_text((GtkEntry *)
-                                   glade_xml_get_widget(xml, "txtValue"));
-    gvpr_select(attr, regex_str, get_object_type());
-
-}
-
index 71b99524ec4fc5125e7c2ac1e62b5f10efac8edc..68c4e8e32dd2481c3dd4c11a15ade2fafdcafe5f 100644 (file)
@@ -18,7 +18,6 @@
 _BB void on_txtAttr_changed(GtkWidget * widget, gpointer user_data);
 _BB void on_attrApplyBtn_clicked (GtkWidget * widget, gpointer user_data);
 _BB void on_attrAddBtn_clicked (GtkWidget * widget, gpointer user_data);
-_BB void on_attrSearchBtn_clicked (GtkWidget * widget, gpointer user_data);
 
 extern attr_list* load_attr_list(Agraph_t* g);
 extern void showAttrsWidget(topview* t);