one more solution :-) Re: [gtkada] GtkAda-2.2.X with Gtk+-2.4 -- More information

danielcheagle at ig.com.br danielcheagle at ig.com.br
Thu Jun 17 07:20:35 CEST 2004


this glue in GtkAda in "gtkextra" is based that 
the Gtk2.4.X is "source and binary" compatible 
with Gtk2.2.X.  I tried eliminated the combox & Cia conflicting code of 
Gtk2.4.X "gtkextra" 
and Cia  without success.  But (THANK'S GOD!!!THANK'S VIRGEM!!!!!!!!! :-) 
this "frase"...in my head...."source e binary compatible".... 
then I make a one craze. I take the "gtk.h"(of gtk-2.2.4:-) 
renamed to "gtkdani.h" and copy it to include dir of Gtk2.4.X 
(in my case  this is "/usr/include/gtk-2.0/gtk/" :-) ) 

and in /GtkAda/src/*  I find all <gtk/gtk.h> and replace with 
<gtk/gtkdani.h> 

(I don't touch in aclocal :-) in /GtkAda/) 

AND This Work!!!! THaaaannnKKKK's VIRGEM!:-) 

the unique error in testgtk was... 


in "image manipulation"-->"animation" 

(testgtk:3602): GdkPixbuf-CRITICAL **: file gdk-pixbuf-scale.c: line 122 
(gdk_pixbuf_composite): assertion `overall_alpha >= 0 && overall_alpha <= 
255' failed 

But this need more tests:-) and the solution of Jeffrey is more long  
term:-) 
that's it:-) 

[]' of seven turns,Dani:-) 

ps.: I used GtkAda cvs version 
     Glib 2.4.2-1 
     Gtk 2.4.2-1 
     (my system is a Debian Sid:-) 

Thanks for the Patiente:-) 
[]'s Dani:-) 

_________________________________________________________________________________
Quer mais velocidade?
Só com o acesso Aditivado iG, a velocidade que você quer na hora que você precisa.
Clique aqui: http://www.acessoaditivado.ig.com.br



More information about the gtkada mailing list