[gtk+] testgtk: Use gtk_widget_set_visual()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] testgtk: Use gtk_widget_set_visual()
- Date: Tue, 28 Sep 2010 17:17:38 +0000 (UTC)
commit bf81be51eb06ea86343a2f78925435cf11f743d8
Author: Benjamin Otte <otte redhat com>
Date: Tue Sep 28 19:11:46 2010 +0200
testgtk: Use gtk_widget_set_visual()
tests/testgtk.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index de56fb5..63e37b3 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), "<b>Screen supports alpha</b>");
}
- gtk_window_set_visual (window, visual);
+ gtk_widget_set_visual (GTK_WIDGET (window), visual);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]