summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-12-07 18:00:20 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-12-07 18:00:20 +0000
commit85fda2788d264b0755da837fa329ebc75269959f (patch)
treedd624dc2195d9f2b1b6b10ca631b39707f6253fc /gtk/gtktoolbutton.c
parentb22c707741f2e5e82e4e2c4c839023fb43d1a5e7 (diff)
downloadgtk+-85fda2788d264b0755da837fa329ebc75269959f.tar.gz
Fix a variable name clash. (#323475, Ross Burton)
2005-12-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtktoolbutton.c (clone_image_menu_size): Fix a variable name clash. (#323475, Ross Burton)
Diffstat (limited to 'gtk/gtktoolbutton.c')
-rw-r--r--gtk/gtktoolbutton.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktoolbutton.c b/gtk/gtktoolbutton.c
index 7c06409f35..fcb7f92f91 100644
--- a/gtk/gtktoolbutton.c
+++ b/gtk/gtktoolbutton.c
@@ -562,16 +562,16 @@ clone_image_menu_size (GtkImage *image, GtkSettings *settings)
&width, &height))
{
GdkPixbuf *src_pixbuf, *dest_pixbuf;
- GtkWidget *image;
+ GtkWidget *cloned_image;
src_pixbuf = gtk_image_get_pixbuf (image);
dest_pixbuf = gdk_pixbuf_scale_simple (src_pixbuf, width, height,
GDK_INTERP_BILINEAR);
- image = gtk_image_new_from_pixbuf (dest_pixbuf);
+ cloned_image = gtk_image_new_from_pixbuf (dest_pixbuf);
g_object_unref (dest_pixbuf);
- return image;
+ return cloned_image;
}
}