summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'Smoke/gtk.c')
-rw-r--r--Smoke/gtk.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/Smoke/gtk.c b/Smoke/gtk.c
index 7de195f..f2daa5a 100644
--- a/Smoke/gtk.c
+++ b/Smoke/gtk.c
@@ -95,11 +95,11 @@ static gboolean animate = TRUE;
static void timeout_add (GtkWidget *widget);
static void timeout_remove (GtkWidget *widget);
-static void toggle_animation (GtkWidget *widget);
+//static void toggle_animation (GtkWidget *widget);
static GdkGLConfig *configure_gl (void);
-static GtkWidget *create_popup_menu (GtkWidget *drawing_area);
+//static GtkWidget *create_popup_menu (GtkWidget *drawing_area);
static GtkWidget *create_window (GdkGLConfig *glconfig, fftw_real *field);
@@ -365,6 +365,7 @@ button_press_event (GtkWidget *widget,
return FALSE;
}
+#if 0
/* For popup menu. */
static gboolean
button_press_event_popup_menu (GtkWidget *widget,
@@ -387,6 +388,7 @@ button_press_event_popup_menu (GtkWidget *widget,
return FALSE;
}
+#endif
/***
*** The "key_press_event" signal handler. Any processing required when key
@@ -554,7 +556,7 @@ visibility_notify_event (GtkWidget *widget,
return TRUE;
}
-
+#if 0
/**************************************************************************
* The following section contains some miscellaneous utility functions.
**************************************************************************/
@@ -579,7 +581,6 @@ toggle_animation (GtkWidget *widget)
}
-#if 0
/**************************************************************************
* The following section contains the GUI building function definitions.
**************************************************************************/
@@ -624,8 +625,6 @@ create_window (GdkGLConfig *glconfig, fftw_real *field)
GtkWidget *window;
GtkWidget *hbox;
GtkWidget *drawing_area;
- GtkWidget *menu;
- GtkWidget *button;
GtkWidget *settings_notebook, *notebook_page, *notebook_page_label;
/*
@@ -871,9 +870,6 @@ main (int argc,
{
GtkWidget *window;
GdkGLConfig *glconfig;
- int i;
- struct color4f colormap;
- float value;
fftw_real *field;
/* Initialize the simulation */