[gtkada] Testgtk GtkAda Test failure

Roger Mc Murtrie rogermc at iinet.net.au
Mon Nov 26 12:19:03 CET 2007


Problem found (but not fixed yet)!
There appears to be a problem with Pango.Layout.Get_Pixel_Size.
Deleting calls to Get_Pixel_Size in GtkAda/src gtkada-mdi.adb and
GtkAda/src/gtkada-canvas allows the GtkAda demo canvas to display  
successfully and interactively.
Roger


On 26/11/2007, at 2:44 PM, Roger Mc Murtrie wrote:

> I have built and installed GtkAda-2.8.1.
> When I run testgtk all tests seem to work except GtkAda Canvas which  
> hangs testgtk and  produces in the terminal window:
>
> (testgtk:2435): GLib-GObject-WARNING **: cannot register existing  
> type `PangoLayout'
>
> (testgtk:2435): GLib-CRITICAL **: g_once_init_leave: assertion  
> `initialization_value != 0' failed
>
> (testgtk:2435): Pango-CRITICAL **: pango_layout_get_pixel_extents:  
> assertion `PANGO_IS_LAYOUT (layout)' failed
>
> (testgtk:2435): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height:  
> assertion `pixbuf != NULL' failed
>
> (testgtk:2435): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width:  
> assertion `pixbuf != NULL' failed
>
> (testgtk:2435): Gdk-CRITICAL **: gdk_draw_pixbuf: assertion  
> `GDK_IS_PIXBUF (pixbuf)' failed
>
> Advice requested.
> Also, what is the number 2435 referring to?
> Regards
>
> Roger

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20071126/fd98ebb7/attachment.htm 


More information about the gtkada mailing list