[gnome-terminal] Use gtk_widget_set_visual
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Use gtk_widget_set_visual
- Date: Tue, 28 Sep 2010 17:46:50 +0000 (UTC)
commit 30d8eb59d124280b5d5685ad1003760df2e93350
Author: Christian Persch <chpe gnome org>
Date: Tue Sep 28 19:45:32 2010 +0200
Use gtk_widget_set_visual
src/terminal-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 3671f36..131b098 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1543,12 +1543,12 @@ terminal_window_realize (GtkWidget *widget)
(visual = gdk_screen_get_rgba_visual (screen)) != NULL)
{
/* Set RGBA visual if possible so VTE can use real transparency */
- gtk_window_set_visual (GTK_WINDOW (widget), visual);
+ gtk_widget_set_visual (GTK_WIDGET (widget), visual);
priv->have_argb_visual = TRUE;
}
else
{
- gtk_window_set_visual (GTK_WINDOW (window), gdk_screen_get_system_visual (screen));
+ gtk_widget_set_visual (GTK_WIDGET (window), gdk_screen_get_system_visual (screen));
priv->have_argb_visual = FALSE;
}
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]