]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused object init functions
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 24 Sep 2021 00:31:19 +0000 (17:31 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 30 Sep 2021 00:37:30 +0000 (17:37 -0700)
cmd/smyrna/gui/gui.c
cmd/smyrna/gui/gui.h

index 26d9aae13be330ed9b49318c704d44a4b679e062..6a5d6fa3814f2f381a493d4ac4a6a48810fd4633 100644 (file)
@@ -33,46 +33,6 @@ int attr_widgets_modified[MAXIMUM_WIDGET_COUNT];
 int widgetcounter;             //number of attributes counted dynamically, might be removed in the future 
 attribute attr[MAXIMUM_WIDGET_COUNT];
 
-
-
-//loads object properties form and does some fixes
-//call this function only ones
-void create_object_properties(void)
-{
-    GladeXML *xml;
-    GtkWidget *widget;
-    xml = glade_xml_new(smyrnaGlade, NULL, NULL);
-
-    widget = glade_xml_get_widget(xml, "listPoints");
-    gtk_clist_set_column_title((GtkCList *) widget, 0, "Def");
-    gtk_clist_set_column_title((GtkCList *) widget, 1, "x");
-    gtk_clist_set_column_title((GtkCList *) widget, 2, "y");
-    gtk_clist_set_column_title((GtkCList *) widget, 3, "z");
-    gtk_clist_column_titles_show((GtkCList *) widget);
-    gtk_widget_show(widget);
-    widget = glade_xml_get_widget(xml, "win");
-    gtk_widget_show(widget);
-
-
-}
-
-//call this after create_object_properties()
-void object_properties_node_init(void)
-{
-
-}
-void object_properties_edge_init(void) //customize window for Edges
-{
-}
-void object_properties_cluster_init(void)      //customize window for Cluster
-{
-
-}
-void object_properties_graph_init(void)        //customize window for Graph , this shows the graph default values
-{
-
-}
-
 void Color_Widget(char *colorstring, GtkWidget * widget)
 {
   GtkRcStyle *rc_style;
index 87fe67da51c125d1224df7c9e1616f956668180f..a681187ddfba608b2a572959407a95c91fa7a7a7 100644 (file)
@@ -39,11 +39,6 @@ extern "C" {
     extern attribute attr[MAXIMUM_WIDGET_COUNT];
 
 
-    void create_object_properties(void);       //creates general purpose object properties template
-    void object_properties_node_init(void);    //customize window for Nodes
-    void object_properties_edge_init(void);    //customize window for Edges
-    void object_properties_cluster_init(void); //customize window for Cluster
-    void object_properties_graph_init(void);   //customize window for Graph , this shows the graph default values
     void graph_properties_init(int newgraph);  //initialize little open graph dialog
     int update_graph_properties(Agraph_t * graph);     //updates graph from gui
     void load_graph_properties(Agraph_t * graph);      //load from graph to gui