spinner: We want the default colormap, not the RGB colormap

GtkSpinner doesn't use GdkRGB
This commit is contained in:
Benjamin Otte
2010-07-13 02:22:40 +02:00
parent 8f6a014de4
commit 6eed185502

View File

@ -326,7 +326,7 @@ gtk_spinner_screen_changed (GtkWidget* widget, GdkScreen* old_screen)
if (!colormap)
{
colormap = gdk_screen_get_rgb_colormap (new_screen);
colormap = gdk_screen_get_default_colormap (new_screen);
}
gtk_widget_set_colormap (widget, colormap);