summaryrefslogtreecommitdiff
path: root/gtk/gtkinputdialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkinputdialog.c')
-rw-r--r--gtk/gtkinputdialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c
index 380f82c83..44c1cec9b 100644
--- a/gtk/gtkinputdialog.c
+++ b/gtk/gtkinputdialog.c
@@ -529,7 +529,7 @@ gtk_input_dialog_fill_axes(GtkInputDialog *inputd, GdkDeviceInfo *info)
gtk_widget_realize (inputd->axis_list);
gdk_window_set_background (inputd->axis_list->window,
- &inputd->axis_list->style->white);
+ &inputd->axis_list->style->base[GTK_STATE_NORMAL]);
for (i=GDK_AXIS_X;i<GDK_AXIS_LAST;i++)
{
@@ -664,7 +664,7 @@ gtk_input_dialog_fill_keys(GtkInputDialog *inputd, GdkDeviceInfo *info)
gtk_widget_realize (inputd->keys_list);
gdk_window_set_background (inputd->keys_list->window,
- &inputd->keys_list->style->white);
+ &inputd->keys_list->style->base[GTK_STATE_NORMAL]);
for (i=0;i<info->num_keys;i++)
{