Re: Why "GtkWidget->window" is "NULL" when "gtk_window_new()"



On Tue, 2008-08-12 at 12:23 +0100, Peter Clifton wrote:
> On Tue, 2008-08-12 at 11:48 +0100, Emmanuele Bassi wrote:
> 
> > don't use gdk_draw_* API: it's long deprecated (gtk+ 2.8 deprecated that
> > family of functions).
> 
> Not so, take a look at the list of deprecated symbols:
> http://library.gnome.org/devel/gdk/unstable/ix02.html

they are not marked deprecated - but those functions are logically
deprecated by the cairo API.

> Yes, cairo is nicer and the OP should probably use it, but I sincerely
> hope these Gdk functions won't be going away any time soon.

they won't go away anyway - 2.x is API and ABI compatible, so gtk+ will
have to ship those symbols until the last 2.x release, even if they were
marked as deprecated.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net



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