diff options
Diffstat (limited to 'capplets/appearance/appearance-style.c')
-rw-r--r-- | capplets/appearance/appearance-style.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/capplets/appearance/appearance-style.c b/capplets/appearance/appearance-style.c index c353f0e6..a0547941 100644 --- a/capplets/appearance/appearance-style.c +++ b/capplets/appearance/appearance-style.c @@ -472,9 +472,11 @@ cursor_size_scale_value_changed_cb (GtkRange *range, AppearanceData *data) g_free (name); if (theme) { + gdouble value; gint size; - size = g_array_index (theme->sizes, gint, (int) gtk_range_get_value (range)); + value = gtk_range_get_value (range); + size = g_array_index (theme->sizes, gint, (int) value); cursor_size_changed_cb (size, data); } } |