+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
+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.
+
2001-07-15 James Henstridge <james@daa.com.au>
* gtk/gtkwindow.c (gtk_window_add_accel_group): cast to GObject.
static gint
gdk_fb_get_depth (GdkDrawable *drawable)
{
- return GDK_DRAWABLE_IMPL_FBDATA (drawable)->depth;
+ return GDK_DRAWABLE_FBDATA (drawable)->depth;
}
static GdkVisual*
image->visual = gdk_drawable_get_visual (drawable);
image->width = width;
image->height = height;
- image->bits_per_pixel = GDK_DRAWABLE_IMPL_FBDATA (gdk_parent_root)->depth;
+ image->bits_per_pixel = GDK_DRAWABLE_FBDATA (drawable)->depth;
image->depth = image->bits_per_pixel;
if (image->bits_per_pixel <= 8)