forked from AuroraMiddleware/gtk
tests: Use gdk_screen_get_default_colormap()
We don't need the RGB colormap here.
This commit is contained in:
parent
141b2ceff2
commit
0d42dabf6c
@ -344,7 +344,7 @@ on_alpha_screen_changed (GtkWidget *widget,
|
||||
|
||||
if (!colormap)
|
||||
{
|
||||
colormap = gdk_screen_get_rgb_colormap (screen);
|
||||
colormap = gdk_screen_get_default_colormap (screen);
|
||||
gtk_label_set_markup (GTK_LABEL (label), "<b>Screen doesn't support alpha</b>");
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user