Merges from the gtk-1-0 branch
Sun May 3 14:55:34 1998 Owen Taylor <otaylor@gtk.org> * docs/gtkfaq.sgml (CPPFLAGS): Added a FAQ entry about "glibconfig.h" and another about writing another IRC client. Sat May 2 00:14:05 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtkpreview.c (gtk_trim_cmap): Make sure the parameters to log are doubles. Digital Unix apparently is missing the argument in its prototype. Sun May 3 19:04:46 1998 Owen Taylor <otaylor@gtk.org> * gtk/gtklabel.c (gtk_label_state_changed): Don't force a clear until the widget is actually on screen. Hopefully nothing else though CVS think there are a whole bunch more changed files.
This commit is contained in:
@ -1238,7 +1238,7 @@ gtk_trim_cmap (GtkPreviewClass *klass)
|
||||
nred = nred - 1;
|
||||
else
|
||||
{
|
||||
tmp = log (ngray) / log (2);
|
||||
tmp = log ((gdouble)ngray) / log (2.0);
|
||||
|
||||
if (ngreen >= tmp)
|
||||
ngreen = ngreen - 1;
|
||||
|
||||
Reference in New Issue
Block a user