forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
1901d4ebd7
commit
8ab98f3a58
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -1,3 +1,9 @@
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user