Use the colormap of the widget with KatzeScrolled
This commit is contained in:
parent
b447070d7d
commit
41d41e69ad
1 changed files with 1 additions and 1 deletions
|
@ -878,7 +878,7 @@ katze_scrolled_realize (GtkWidget* widget)
|
|||
G_CALLBACK (on_expose_event), scrolled);
|
||||
|
||||
color.red = color.green = color.blue = 0x9999;
|
||||
gdk_rgb_find_color (gdk_colormap_get_system (), &color);
|
||||
gdk_rgb_find_color (gtk_widget_get_colormap (widget), &color);
|
||||
gdk_window_set_background (priv->vertical_scrollbar_window, &color);
|
||||
gdk_window_set_background (priv->horizontal_scrollbar_window, &color);
|
||||
|
||||
|
|
Loading…
Reference in a new issue