Menu

#2 GDK Deprecated Functions used internally

open
nobody
None
5
2003-09-10
2003-09-10
No

Deprecated functions are used in GDK which prevent
compiling with GDK_DISABLE_DEPRECATED, mostly these are
simple things, namely use of GDK_DRAWABLE_REF/UNREF in
window and pixbuf instead of g_object_ref/unref, and
one such in GdkGC ex.

procedure gdk_window_unref(drawable:PGdkDrawable);
begin
gdk_drawable_unref(drawable);
end;

vs.

procedure gdk_window_unref(drawable:PGdkDrawable);
begin
g_object_unref(G_OBJECT(drawable));
end;

all in all I think only around 10 or so like this exist.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.