summaryrefslogtreecommitdiff
path: root/gtk/gtkspinner.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-11-27 01:23:55 -0500
committerMatthias Clasen <mclasen@redhat.com>2009-11-27 01:23:55 -0500
commit0567ea1c1834609821460abb91bd4144da565c7a (patch)
treeff1ab63137775078bd6b217c6092162930d0fb60 /gtk/gtkspinner.c
parentc1dfd2f2f5a958eb73f7e9f6a653963b58008d79 (diff)
downloadgtk+-0567ea1c1834609821460abb91bd4144da565c7a.tar.gz
Add customary args to gtk_style_paint_spinner()
...and adjust all callers.
Diffstat (limited to 'gtk/gtkspinner.c')
-rw-r--r--gtk/gtkspinner.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c
index 0c341b86d9..59b25ea27e 100644
--- a/gtk/gtkspinner.c
+++ b/gtk/gtkspinner.c
@@ -215,7 +215,8 @@ gtk_spinner_init (GtkSpinner *spinner)
}
static gboolean
-gtk_spinner_expose (GtkWidget *widget, GdkEventExpose *event)
+gtk_spinner_expose (GtkWidget *widget,
+ GdkEventExpose *event)
{
GtkStateType state_type;
GtkSpinnerPrivate *priv;
@@ -236,6 +237,9 @@ gtk_spinner_expose (GtkWidget *widget, GdkEventExpose *event)
gtk_paint_spinner (widget->style,
widget->window,
state_type,
+ &event->area,
+ widget,
+ "spinner",
priv->current,
event->area.x, event->area.y,
event->area.width, event->area.height);