summaryrefslogtreecommitdiff
path: root/src/themes/slider
diff options
context:
space:
mode:
Diffstat (limited to 'src/themes/slider')
-rw-r--r--src/themes/slider/theme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c
index 1e80a0e..04ff9ab 100644
--- a/src/themes/slider/theme.c
+++ b/src/themes/slider/theme.c
@@ -1007,8 +1007,8 @@ static gboolean on_countdown_expose(GtkWidget* pie, GdkEventExpose* event, Windo
cairo_set_operator(cr, CAIRO_OPERATOR_OVER);
#if GTK_CHECK_VERSION (3, 0, 0)
- gtk_style_context_get_color (context, GTK_STATE_FLAG_NORMAL, &color);
- gtk_style_context_get_background_color (context, GTK_STATE_FLAG_NORMAL, &fg_color);
+ gtk_style_context_get_color (style, GTK_STATE_FLAG_NORMAL, &color);
+ gtk_style_context_get_background_color (style, GTK_STATE_FLAG_NORMAL, &fg_color);
r = color.red;
g = color.green;
b = color.blue;