[gtk+] Fix demo to use a "normal" transparent value now that it works.
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix demo to use a "normal" transparent value now that it works.
- Date: Tue, 6 Dec 2011 13:12:54 +0000 (UTC)
commit 288b1539d1062c4d5e6b510e33fda6b97232f21b
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 6 14:11:44 2011 +0100
Fix demo to use a "normal" transparent value now that it works.
The last commit fixed this, so lets have a sane value in the demo code.
demos/gtk-demo/transparent.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/transparent.c b/demos/gtk-demo/transparent.c
index d1b2cb4..21c6a0b 100644
--- a/demos/gtk-demo/transparent.c
+++ b/demos/gtk-demo/transparent.c
@@ -191,7 +191,7 @@ do_transparent (GtkWidget *do_widget)
GtkWidget *overlay;
GtkWidget *align;
GtkWidget *entry;
- GdkRGBA transparent = {0.1, 0, 0, 0};
+ GdkRGBA transparent = {0, 0, 0, 0};
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_screen (GTK_WINDOW (window),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]