From 0d42dabf6c3616f150f9aafa35c8e731d0b82a1c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 13 Jul 2010 02:38:21 +0200 Subject: [PATCH] tests: Use gdk_screen_get_default_colormap() We don't need the RGB colormap here. --- tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testgtk.c b/tests/testgtk.c index fc4dbb7957..2f01bb795a 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -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), "Screen doesn't support alpha"); } else