From bf81be51eb06ea86343a2f78925435cf11f743d8 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 28 Sep 2010 19:11:46 +0200 Subject: [PATCH] testgtk: Use gtk_widget_set_visual() --- tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testgtk.c b/tests/testgtk.c index de56fb555c..63e37b3328 100644 --- a/tests/testgtk.c +++ b/tests/testgtk.c @@ -261,7 +261,7 @@ on_alpha_screen_changed (GtkWindow *window, gtk_label_set_markup (GTK_LABEL (label), "Screen supports alpha"); } - gtk_window_set_visual (window, visual); + gtk_widget_set_visual (GTK_WIDGET (window), visual); } static void