Commit 8ab98f3a authored by Anders Carlsson's avatar Anders Carlsson Committed by Anders Carlsson

Remove unused pixels and rowstride variables.

2002-01-07  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
	unused pixels and rowstride variables.
	(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
parent 1901d4eb
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
2002-01-07 Anders Carlsson <andersca@gnu.org>
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
unused pixels and rowstride variables.
(gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
Mon Jan 7 08:48:23 2002 Tim Janik <timj@gtk.org>
* gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
......
......@@ -288,8 +288,6 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
{
GtkCellRendererPixbuf *cellpixbuf = (GtkCellRendererPixbuf *) cell;
GdkPixbuf *pixbuf;
guchar *pixels;
gint rowstride;
GdkRectangle pix_rect;
GdkRectangle draw_rect;
......@@ -307,9 +305,6 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
if (!pixbuf)
return;
rowstride = gdk_pixbuf_get_rowstride (pixbuf);
pixels = gdk_pixbuf_get_pixels (pixbuf);
gtk_cell_renderer_pixbuf_get_size (cell, widget, cell_area,
&pix_rect.x,
&pix_rect.y,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment