Re: What replaces =?utf-8?b?Z2RrX2JpdG1hcF9jcmVhdGVfZnJvbV9kYXRhKCk=?= ?
- From: Benjamin Otte <otte gnome org>
- To: gtk-devel-list gnome org
- Subject: Re: What replaces gdk_bitmap_create_from_data() ?
- Date: Sun, 29 Aug 2010 22:31:17 +0000 (UTC)
Murray Cumming <murrayc <at> murrayc.com> writes:
> gdk_bitmap_create_from_data() has been removed but it's not yet
> deprecated in the gtk-2-22 branch, so I can't read about what replaces
> it. I see no other simple way to create a GdkBitmap.
>
A GdkBitmap is just a GdkPixmap with a depth of 1. Even in the code, it's just
a typedef. Also, I deprecated it in 2.22, see
http://git.gnome.org/browse/gtk+/commit/?
id=0e183fe745843daa67937a940d90e2d29e062429
for the commit doing that. It adds documentation, too!
> Is GdkBitmap meant to be removed completely? There are still functions
> in git master that take it as a parameter.
>
It's gone in the rendeirng-cleanup branch. See my mail from today.
Benjamin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]