summaryrefslogtreecommitdiffstats
path: root/Smoke/gtk_colormap.c
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2007-12-19 15:44:23 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2007-12-19 15:44:23 (GMT)
commita60088999da4f44bf5885f431fe78eb87d643ae7 (patch)
tree27940a3cd14a7cdee60ddb0263bf1173c51df56c /Smoke/gtk_colormap.c
parentc287b3f591fe3e10dceedfd90a5ce71b2c703988 (diff)
download2iv35-a60088999da4f44bf5885f431fe78eb87d643ae7.zip
2iv35-a60088999da4f44bf5885f431fe78eb87d643ae7.tar.gz
2iv35-a60088999da4f44bf5885f431fe78eb87d643ae7.tar.bz2
splitted up glyphs
Diffstat (limited to 'Smoke/gtk_colormap.c')
-rw-r--r--Smoke/gtk_colormap.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Smoke/gtk_colormap.c b/Smoke/gtk_colormap.c
index 802ad28..7be65a8 100644
--- a/Smoke/gtk_colormap.c
+++ b/Smoke/gtk_colormap.c
@@ -1,8 +1,11 @@
#include <gtk/gtk.h>
-#include "gtk_colormap.h"
+
+#include "palette.h"
#include "colormap.h"
+#include "gtk_colormap.h"
+
static gboolean select_colormap(GtkComboBox *combo, gpointer data)
{
@@ -96,7 +99,7 @@ GtkWidget *create_colormap_page(void)
color_adjustment = GTK_ADJUSTMENT(gtk_adjustment_new(
- COLOR_MAXCOLORS, 1, COLOR_MAXCOLORS +1, 0.5, 5, 1));
+ PALETTE_MAXCOLORS, 1, PALETTE_MAXCOLORS +1, 0.5, 5, 1));
color_scale = gtk_hscale_new(color_adjustment);
gtk_scale_set_digits(GTK_SCALE(color_scale), 0);
g_signal_connect(GTK_RANGE(color_scale), "value-changed", G_CALLBACK(select_num_colors), NULL);