summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk_main.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:17:24 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2008-01-10 21:17:24 (GMT)
commit28f4e6ec12a168ac260ba1143a31af8116eda43d (patch)
tree452ba7fd8808f3f10254f2af0e54f200c3a129eb /Smoke/gtk_main.c
parent2cb09ad476b1f20ff02200ca70aab489c8c06300 (diff)
download2iv35-28f4e6ec12a168ac260ba1143a31af8116eda43d.zip
2iv35-28f4e6ec12a168ac260ba1143a31af8116eda43d.tar.gz
2iv35-28f4e6ec12a168ac260ba1143a31af8116eda43d.tar.bz2
cleanup of (most) all legacy code
Diffstat (limited to 'Smoke/gtk_main.c')
-rw-r--r--Smoke/gtk_main.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/Smoke/gtk_main.c b/Smoke/gtk_main.c
index f006c62..80519e8 100644
--- a/Smoke/gtk_main.c
+++ b/Smoke/gtk_main.c
@@ -69,12 +69,6 @@ static gboolean select_normals(GtkWidget *button, gpointer data) {
return TRUE;
}
-static gboolean select_normals2(GtkWidget *button, gpointer data) {
- normals_set_render2(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button)));
-
- return TRUE;
-}
-
static gboolean reset_zoom(GtkWidget *button, gpointer data) {
renderer_reset_zoom();
@@ -208,12 +202,6 @@ GtkWidget *create_main_page(void)
gtk_box_pack_start (GTK_BOX(box), button, TRUE, TRUE, 0);
gtk_widget_show(button);
- button = gtk_check_button_new_with_label("Draw normal vectors 2");
- gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(button), normals_get_render2());
- g_signal_connect (G_OBJECT(button), "clicked", G_CALLBACK(select_normals2), NULL);
- gtk_box_pack_start (GTK_BOX(box), button, TRUE, TRUE, 0);
- gtk_widget_show(button);
-
button = gtk_button_new_with_label("Reset simulation");
g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(reset_simulation), NULL);
gtk_box_pack_start(GTK_BOX(box), button, TRUE, TRUE, 0);