forked from AuroraMiddleware/gtk
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:
parent
d434ca3deb
commit
90cba8ffdb
@ -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)
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user