summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorsel.c
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>1998-12-31 21:01:18 +0000
committerElliot Lee <sopwith@src.gnome.org>1998-12-31 21:01:18 +0000
commit385108e0dee634a08ed6de5703c43e2aaafd80df (patch)
treef39ec6bd59d8d6d325fdebd7d2675cfcbfb4d84a /gtk/gtkcolorsel.c
parentd9f5d8f25586645525c3d124cba62a64248bd3df (diff)
downloadgdk-pixbuf-385108e0dee634a08ed6de5703c43e2aaafd80df.tar.gz
gtk.m4: When testing to see if glib exists, set LIBS="$GTK_LIBS $LIBS" NOT
gtk.m4: When testing to see if glib exists, set LIBS="$GTK_LIBS $LIBS" NOT LIBS="$LIBS $GTK_LIBS" because order matters - if the user specifies their own $LIBS to ./configure, these need to be passed in last. gtk/Makefile.am: Fix problems with gtktypebuiltins* getting rebuilt every single time 'make' was run. gtk/gtkcalendar.c: Set 'week' variable to 0 to get rid of uninitialized variable warning. Better solution is to give it the right value somewhere :) gtk/gtkclist.c: When computing optimum column size, don't subtract the borders.(?) gtk/gtkcolorsel.c: Don't read past end of array.
Diffstat (limited to 'gtk/gtkcolorsel.c')
-rw-r--r--gtk/gtkcolorsel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index a85cda188..8db7530ba 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -939,7 +939,7 @@ gtk_color_selection_drag_handle (GtkWidget *widget,
vals[2] = colors[2] * 0xffff;
vals[3] = colorsel->use_opacity ? colors[3] * 0xffff : 0xffff;
- g_print ("%x %x\n", vals[0], vals[4]);
+ g_print ("%x %x\n", vals[0], vals[3]);
g_print ("%g\n", colorsel->values[OPACITY]);
g_print ("%d\n", colorsel->use_opacity);