+2003-01-21 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid
+ unnecessary roundtrip failures. (#93500)
+
2003-01-19 Tor Lillqvist <tml@iki.fi>
Merge from stable:
(selection_motion_event_handler):
(selection_scan_timeout): Support select-by-words/lines.
(gtk_text_view_button_press_event): Start a selection drag on
- double/triple clicks. (#78599)
+ double/triple clicks. (#78499)
2003-01-06 Matthias Clasen <maclas@gmx.de>
+2003-01-21 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid
+ unnecessary roundtrip failures. (#93500)
+
2003-01-19 Tor Lillqvist <tml@iki.fi>
Merge from stable:
(selection_motion_event_handler):
(selection_scan_timeout): Support select-by-words/lines.
(gtk_text_view_button_press_event): Start a selection drag on
- double/triple clicks. (#78599)
+ double/triple clicks. (#78499)
2003-01-06 Matthias Clasen <maclas@gmx.de>
+2003-01-21 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid
+ unnecessary roundtrip failures. (#93500)
+
2003-01-19 Tor Lillqvist <tml@iki.fi>
Merge from stable:
(selection_motion_event_handler):
(selection_scan_timeout): Support select-by-words/lines.
(gtk_text_view_button_press_event): Start a selection drag on
- double/triple clicks. (#78599)
+ double/triple clicks. (#78499)
2003-01-06 Matthias Clasen <maclas@gmx.de>
+2003-01-21 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid
+ unnecessary roundtrip failures. (#93500)
+
2003-01-19 Tor Lillqvist <tml@iki.fi>
Merge from stable:
(selection_motion_event_handler):
(selection_scan_timeout): Support select-by-words/lines.
(gtk_text_view_button_press_event): Start a selection drag on
- double/triple clicks. (#78599)
+ double/triple clicks. (#78499)
2003-01-06 Matthias Clasen <maclas@gmx.de>
+2003-01-21 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid
+ unnecessary roundtrip failures. (#93500)
+
2003-01-19 Tor Lillqvist <tml@iki.fi>
Merge from stable:
(selection_motion_event_handler):
(selection_scan_timeout): Support select-by-words/lines.
(gtk_text_view_button_press_event): Start a selection drag on
- double/triple clicks. (#78599)
+ double/triple clicks. (#78499)
2003-01-06 Matthias Clasen <maclas@gmx.de>
text = gtk_editable_get_chars (GTK_EDITABLE (priv->hex_entry), 0, -1);
if (gdk_color_parse (text, &color))
{
- priv->color[COLORSEL_RED] = CLAMP (color.red/65280.0, 0.0, 1.0);
- priv->color[COLORSEL_GREEN] = CLAMP (color.green/65280.0, 0.0, 1.0);
- priv->color[COLORSEL_BLUE] = CLAMP (color.blue/65280.0, 0.0, 1.0);
+ priv->color[COLORSEL_RED] = CLAMP (color.red/65535.0, 0.0, 1.0);
+ priv->color[COLORSEL_GREEN] = CLAMP (color.green/65535.0, 0.0, 1.0);
+ priv->color[COLORSEL_BLUE] = CLAMP (color.blue/65535.0, 0.0, 1.0);
gtk_rgb_to_hsv (priv->color[COLORSEL_RED],
priv->color[COLORSEL_GREEN],
priv->color[COLORSEL_BLUE],