Re: Imlib 1.4 dependency on CVS gtk+



On  5 May, Sebastian Wilhelmi shouted:
->  > 
->  > I had not checked 1.0.1. But if an application uses a GdkWindowPrivate
->  > structure without going through the GDK functions, it may break when
->  > upgrading to 1.0.1... For example if I want to make a copy of a
->  > GdkWindowPrivate returned by a GDK function for my own use, and I malloc a
->  > sizeof(GdkWindowPrivate)...
->  > 
->  
->  I suppose, you shouldn't do it, that why its name contains Private. 
->  
->  Its an "implemenation detail" and as such should't be used by external
->  programs and thus can't break binary compatibility of the library.
->  
->  (yes I know, imlib uses it, despite it is private, but imlib is rather
->  strongly tied to gtk these days.)

it is necessary to use it as there is no hook in the api to do what
imlib needs to do (create a GdkPixmap out of an Pixmap) - thus it needs
to extend into gdk's internals...

->  
->  Bye
->  Sebastian
->  

-- 
--------------- Codito, ergo sum - "I code, therefore I am" --------------------
raster@rasterman.com       /\___ /\ ___/||\___ ____/|/\___  raster@redhat.com
Carsten Haitzler           | _ //__\\ __||_ __\\ ___|| _ /  Red Hat Advanced
218/21 Conner Drive        || // __ \\_ \ | |   \ _/_|| /   Development Labs
Chapel Hill NC 27514 USA   ||\\\/  \//__/ |_|   /___/||\\   919 547 0012 ext 282
+1 (919) 929 9443, 801 4392   For pure Enlightenmenthttp://www.rasterman.com/ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]