summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk_streamlines.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/gtk_streamlines.c')
-rw-r--r--Smoke/gtk_streamlines.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/Smoke/gtk_streamlines.c b/Smoke/gtk_streamlines.c
index 187df55..b90d26c 100644
--- a/Smoke/gtk_streamlines.c
+++ b/Smoke/gtk_streamlines.c
@@ -3,16 +3,11 @@
#include <rfftw.h>
#include "fluids.h"
-
#include "palette.h"
#include "streamlines.h"
-
#include "renderer_gl.h"
-
#include "gtk_streamlines.h"
-
-
static gboolean select_colormap(GtkComboBox *combo, gpointer data)
{
streamlines_set_colormap(gtk_combo_box_get_active(combo));
@@ -35,13 +30,6 @@ static gboolean select_alpha(GtkRange *adjustment, gpointer data)
return TRUE;
}
-static gboolean select_history(GtkRange *adjustment, gpointer data)
-{
- set_hisdex((int)gtk_range_get_value(adjustment));
-
- return TRUE;
-}
-
GtkWidget *create_streamlines_page(void)
@@ -118,17 +106,6 @@ GtkWidget *create_streamlines_page(void)
gtk_box_pack_start(GTK_BOX(box), scale, FALSE, TRUE, 0);
gtk_widget_show(scale);
-
- adjustment = GTK_ADJUSTMENT(gtk_adjustment_new(0, 0, HISTORY_SIZE -1, 5, 5, 0));
- scale = gtk_hscale_new(adjustment);
- gtk_scale_set_digits(GTK_SCALE(scale), 0);
- g_signal_connect(GTK_RANGE(scale), "value-changed", G_CALLBACK(select_history), NULL);
-
- gtk_box_pack_start(GTK_BOX(box), scale, FALSE, TRUE, 0);
- gtk_widget_show(scale);
-
-
-
gtk_container_add(GTK_CONTAINER(frame), box);
gtk_widget_show(box);