RE: [Java-gnome-developer] problem with GtkTree
Brought to you by:
afcowie
From: Jeffrey M. <Jef...@Br...> - 2001-09-14 14:52:47
|
This could be a bug in the GtkTreeItem widget. After looking at the gdkdraw.c file I can see that the assertion is caused when the GdkPixmap is NULL. The constructor you are using to create the GtkPixmap was hand written and is located in src/code/jni/glue/GtkPixmap.c. You might add some code to this file to perform a check to make sure the GdkPixmap is valid. Let me know your results -Jeff > > > Hello > > I'm having problem changing the small pixmaps in the > GtkTreeItem widget: > > using mytreeitem.setMinusPixWidget(new GtkPixmap( win, transpa, > "dir_open.xpm" )); > > I get this error: Gdk-CRITICAL **: file gdkdraw.c: line 380 > (gdk_draw_pixmap): assertion `src != NULL' failed. > > When I just had my GtkPixmap in a gtk window, I get the small > cross wich > normally appears in the GtkTreeItem widget (this is strange, it has > nothing to do with my pixmap). > > Any idea ? > > dam > > > > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |