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:
Owen Taylor
1998-05-04 02:10:36 +00:00
committed by Owen Taylor
parent 4851efe296
commit d142827b34
17 changed files with 295 additions and 41 deletions

View File

@ -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;