summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendererpixbuf.c
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2001-04-12 18:16:13 +0000
committerAnders Carlsson <andersca@src.gnome.org>2001-04-12 18:16:13 +0000
commit4006d34f2738ce59e1698339548b9a312e77ae19 (patch)
treecdcfa46f73babe0ecf72e0d9f7dc7a76b199106d /gtk/gtkcellrendererpixbuf.c
parent31210813cb27a2f8f50f7f316d246dbf118150bc (diff)
downloadgdk-pixbuf-4006d34f2738ce59e1698339548b9a312e77ae19.tar.gz
It's pixbuf_pos, not pixbufpos.
2001-04-12 Anders Carlsson <andersca@codefactory.se> * gtk/gtkcellrenderertextpixbuf.c (gtk_cell_renderer_text_pixbuf_class_init): It's pixbuf_pos, not pixbufpos. * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Fix small typo. * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property): xpad and ypad are unsigned insts, therefore use g_value_set_uint. (gtk_cell_renderer_set_property): Likewise, use g_value_get_uint.
Diffstat (limited to 'gtk/gtkcellrendererpixbuf.c')
-rw-r--r--gtk/gtkcellrendererpixbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index 36ead4e08..0bb2cb8c9 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -245,7 +245,7 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
gtk_cell_renderer_pixbuf_get_size (cell, widget, cell_area,
&pix_rect.x,
- &pix_rect.x,
+ &pix_rect.y,
&pix_rect.width,
&pix_rect.height);
pix_rect.x += cell_area->x;