diff options
author | Alex Larsson <alexl@redhat.com> | 2001-07-26 20:07:08 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-07-26 20:07:08 +0000 |
commit | c16e87bcba46d6f84c86aaad0510021f02ab0f9b (patch) | |
tree | f2641507e2df3637c7dbceb38468cb4d7ef4fd82 /gdk/linux-fb/gdkdrawable-fb2.c | |
parent | e70939234cf3af180b4d2a695a0076b4538a3889 (diff) | |
download | gtk+-c16e87bcba46d6f84c86aaad0510021f02ab0f9b.tar.gz |
Initialize image->bits_per_pixel from the drawable, not from the root
2001-07-26 Alex Larsson <alexl@redhat.com>
* gdk/linux-fb/gdkimage-fb.c (_gdk_fb_get_image):
Initialize image->bits_per_pixel from the drawable, not from
the root window.
* gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_get_depth):
Fix cast. argument is an IMPL already.
Diffstat (limited to 'gdk/linux-fb/gdkdrawable-fb2.c')
-rw-r--r-- | gdk/linux-fb/gdkdrawable-fb2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/linux-fb/gdkdrawable-fb2.c b/gdk/linux-fb/gdkdrawable-fb2.c index 5df25c3be6..471ced65d5 100644 --- a/gdk/linux-fb/gdkdrawable-fb2.c +++ b/gdk/linux-fb/gdkdrawable-fb2.c @@ -1304,7 +1304,7 @@ gdk_fb_draw_image (GdkDrawable *drawable, static gint gdk_fb_get_depth (GdkDrawable *drawable) { - return GDK_DRAWABLE_IMPL_FBDATA (drawable)->depth; + return GDK_DRAWABLE_FBDATA (drawable)->depth; } static GdkVisual* |