Re: gdk_draw_gray_image crashes
- From: Wolfgang Sourdeau <wolfgang contre com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gdk_draw_gray_image crashes
- Date: Tue, 10 Apr 2001 10:19:03 -0400
In article <3AD305DB 2422256F ifp uni-stuttgart de>, Jan Böhm <jan boehm ifp uni-stuttgart de> writes:
<gdk/gdk.h> Hi, Based on an example I grabed from this list, I tried
to compile a short program for drawing a gray image to a window (see
below). But on my system the gdk_draw_gray_image routine crashes:
Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 107
error_code 8 request_code 130 minor_code 3 What am I doing wrong? My
system: SunOS 5.6 Generic_105181-14 sun4u sparc SUNW,Ultra-5_10
egcs-2.91.66 libgdk-1.2.so.0.5.2 libgtk-1.2.so.0.5.2
Hi,
I think the problem is that your window doesn't exist yet for your X
server at the time you use gdk_draw_gray_image. Instead, you might
want to use it from a callback for the "expose_event" or the "show"
signals...
W.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]