X 8bpp displays: assertion `style->ref_count > 0' failed
- From: Ullrich Hafner <hafner informatik uni-wuerzburg de>
- To: gtk-list redhat com
- Subject: X 8bpp displays: assertion `style->ref_count > 0' failed
- Date: Mon, 19 Apr 1999 13:04:18 +0200 (CEST)
Hi,
I have problems with an application that uses a private color map on
an 8bpp display. After installing the private color map with
gtk_widget_push_visual (gdk_rgb_get_visual ());
gtk_widget_push_colormap (gdk_rgb_get_cmap ());
I get a lot of messages of the form (only if X is set to 8bpp):
Gtk-CRITICAL **: file gtkstyle.c: line 575 (gtk_style_unref): assertion `style->ref_count > 0' failed.
This error messages are not shown if I start X with 16bpp or if both
code lines are removed. Since this error also appears in the testgtk
application (start testgtk, push color-selection, push cancel) I
believe that this behavior is a GTK+ problem/bug?
Any help is appreciated. GTK+ version: 1.2.2
Thanks,
Ullrich
--
Ullrich Hafner <hafner@bigfoot.de>, http://www.bigfoot.com/~uhafner
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]