Remove left-over focus_pad variable. (#490892, Claudio Saavedra)

2008-03-02  Johan Dahlin  <johan@gnome.org>

    * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
    Remove left-over focus_pad variable.
    (#490892, Claudio Saavedra)


svn path=/trunk/; revision=19693
This commit is contained in:
Johan Dahlin 2008-03-03 01:13:07 +00:00 committed by Johan Dahlin
parent d434ca3deb
commit 90cba8ffdb
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,9 @@
2008-03-02 Johan Dahlin <johan@gnome.org> 2008-03-02 Johan Dahlin <johan@gnome.org>
* gtk/gtkiconview.c (gtk_icon_view_paint_item):
Remove left-over focus_pad variable.
(#490892, Claudio Saavedra)
* docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
(#518166, Matt Kraai) (#518166, Matt Kraai)

View File

@ -2976,7 +2976,7 @@ gtk_icon_view_paint_item (GtkIconView *icon_view,
gint y, gint y,
gboolean draw_focus) gboolean draw_focus)
{ {
gint focus_width, focus_pad; gint focus_width;
gint padding; gint padding;
GdkRectangle cell_area, box; GdkRectangle cell_area, box;
GList *l; GList *l;
@ -2991,7 +2991,6 @@ gtk_icon_view_paint_item (GtkIconView *icon_view,
gtk_widget_style_get (GTK_WIDGET (icon_view), gtk_widget_style_get (GTK_WIDGET (icon_view),
"focus-line-width", &focus_width, "focus-line-width", &focus_width,
"focus-padding", &focus_pad,
NULL); NULL);
padding = focus_width; padding = focus_width;