GNOME Bugzilla – Bug 60865
rename deprecated functions
Last modified: 2011-02-04 16:09:32 UTC
This patch renames: gdk_drawable_ref/unref gdk_window_ref/unref to: g_object_ref/unref This change is especially useful in concert with enhancement #60864.
Created attachment 5646 [details] [review] rename deprecated functions
I personally prefer the G_OBJECT() cast when calling g_object_ref/unref, but since they take a void* I guess we may as well use it. Applying the patch seems like a sane cleanup but most likely should get Owen/Tim's opinion.
I think the patch is a reasonable cleanup, but I think we really need to do: - All GDK GObject types (GdkColoramp, GdkPixmap, etc.) - All files (including the win32 and linux-fb subdirs) At once. Doing only a partial job isn't really that much of an advance.
That's what I'll be doing for bug #52790 *** This bug has been marked as a duplicate of 52790 ***