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

index e53e768c4e5b060e9ab26e8ac14378ca38eaeba6..f5fab0ac5355f41d47e56d7928f8e8c7b14e9ff4 100644 (file)
@@ -75,29 +75,6 @@ void object_properties_graph_init(void)      //customize window for Graph , this show
 
 }
 
-
-
-GtkComboBox *get_SelectGraph(void)
-{
-    GtkComboBox *cb;
-    if (!cbSelectGraph) {
-
-       cb = (GtkComboBox *) gtk_combo_box_new_text();
-       gtk_widget_show((GtkWidget *) cb);
-       gtk_box_pack_start(GTK_BOX(gladewidget), (GtkWidget *) cb, FALSE,
-                          FALSE, 0);
-
-
-       gtk_layout_put((GtkLayout *) gladewidget, (GtkWidget *) cb, 780,
-                      3);
-       //signal
-
-
-       return cb;
-    } else
-       return cbSelectGraph;
-}
-
 void Color_Widget(char *colorstring, GtkWidget * widget)
 {
   GtkRcStyle *rc_style;
index 2c731d7b660a9a5a2d552b98db90a295bd9a592e..190016932f693c1b9559a684b2cf6348cc6421a0 100644 (file)
@@ -47,7 +47,6 @@ extern "C" {
     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
-    GtkComboBox *get_SelectGraph(void);        //freaking GLADE!!!!!
     int update_graph_properties(Agraph_t * graph);     //updates graph from gui
     void load_graph_properties(Agraph_t * graph);      //load from graph to gui