summaryrefslogtreecommitdiff
path: root/docs/tools
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-10-11 13:29:05 +0200
committerBenjamin Otte <otte@redhat.com>2016-10-18 00:29:16 +0200
commit7d47d8023eb283a0f9c95176d4d0e4925866be0b (patch)
tree621450093e8db1612eb838dfabb911b375bc9b43 /docs/tools
parent84649f57c5a0d700cea0ecba247f6291a5b524b1 (diff)
downloadgtk+-7d47d8023eb283a0f9c95176d4d0e4925866be0b.tar.gz
bbox: Remove style properties
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/widgets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
index 6f3303a935..a46fcb9a2a 100644
--- a/docs/tools/widgets.c
+++ b/docs/tools/widgets.c
@@ -587,14 +587,14 @@ create_color_button (void)
GtkWidget *vbox;
GtkWidget *picker;
GtkWidget *align;
- GdkColor color;
+ GdkRGBA color;
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 3);
align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
color.red = 0x1e<<8; /* Go Gagne! */
color.green = 0x90<<8;
color.blue = 0xff<<8;
- picker = gtk_color_button_new_with_color (&color);
+ picker = gtk_color_button_new_with_rgba (&color);
gtk_container_add (GTK_CONTAINER (align), picker);
gtk_box_pack_start (GTK_BOX (vbox), align, FALSE, FALSE);
gtk_box_pack_start (GTK_BOX (vbox),