diff options
author | Owen Taylor <otaylor@gtk.org> | 1998-05-04 02:10:36 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-05-04 02:10:36 +0000 |
commit | d142827b34d15ae3f85c8b7d7d1fa5ec55171fe7 (patch) | |
tree | 81cf844ee483274abad8c65f535312467bbed226 /gtk/gtkpreview.c | |
parent | 4851efe29604e1d950dc9711d9d7ced69771f2e9 (diff) | |
download | gtk+-d142827b34d15ae3f85c8b7d7d1fa5ec55171fe7.tar.gz |
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.
Diffstat (limited to 'gtk/gtkpreview.c')
-rw-r--r-- | gtk/gtkpreview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c index a1ab0da4b4..07d96155d8 100644 --- a/gtk/gtkpreview.c +++ b/gtk/gtkpreview.c @@ -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; |