Problem with GnomeCanvas and GdkImlibImage
- From: Plepelits Stephan <skunk xover htu tuwien ac at>
- To: gtk-app-devel-list redhat com
- Subject: Problem with GnomeCanvas and GdkImlibImage
- Date: Wed, 23 May 2001 10:15:31 +0200
Hi!
I've got a problem with GnomeCanvas and GdkImlibImage.
I show one image several times on my Canvas (antialiased). It shows the
Images right (yes I have all Numbers in gnome_canvas_item_new as doubles).
---
GdkImlibImage *im;
im=gdk_imlib_load_image("switch_left.png");
gnome_canvas_item_new(get_trackGroup(), GNOME_TYPE_CANVAS_IMAGE,
"image", im,
"x", 0.0, "y", 0.0,
"width", 7.0,
"height", 7.0,
NULL);
---
When I move the mouse over one of the images, the program crashes with:
GnomeUI-ERROR **: file gnome-canvas-image.c: line 486 (recalc_if_needed): assertion failed: (image->pixmap !=
NULL)
aborting...
Aborted
Can you help me?
greetings,
Stephan
PS: Please send me a Cc:, I'm not subscribed to the list.
--
Software is like sex; it's better when it's free - Linus Torvalds
,---------------------------------------------------------------.
|Stephan Plepelits, |
|Vienna University of Technology, Institute of Computer Graphics|
|skunk xover mud at - http://xover.mud.at/skunk|
|Tel: +43 1 58801x18634 - Fax: +43 1 58801x18698|
`---------------------------------------------------------------'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]