summaryrefslogtreecommitdiff
path: root/gtk/gtkicontheme.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2003-12-18 16:08:01 +0000
committerAlexander Larsson <alexl@src.gnome.org>2003-12-18 16:08:01 +0000
commit0fe8b2d6d5248b3dddcabe744e933ddb100cad30 (patch)
tree6a7f20653db058779482f652597326a6074f9320 /gtk/gtkicontheme.c
parentbc6e2d55637ef2ff00727a244da3cfd241bc456c (diff)
downloadgdk-pixbuf-0fe8b2d6d5248b3dddcabe744e933ddb100cad30.tar.gz
Fix typo that used the wrong x/y values for the x1, y1 point
2003-12-18 Alexander Larsson <alexl@redhat.com> * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect): Fix typo that used the wrong x/y values for the x1, y1 point
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r--gtk/gtkicontheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 5e465e15a..bd0dc97e6 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -2370,7 +2370,7 @@ gtk_icon_info_get_embedded_rect (GtkIconInfo *icon_info,
icon_info->data->x0, icon_info->data->y0,
&scaled_x0, &scaled_y0);
icon_info_scale_point (icon_info,
- icon_info->data->x0, icon_info->data->y0,
+ icon_info->data->x1, icon_info->data->y1,
&scaled_x1, &scaled_y1);
rectangle->x = scaled_x0;