summary refs log tree commit diff stats
path: root/tests/gtk/ex9.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2009-01-07 17:03:25 +0100
committerAndreas Rumpf <rumpf_a@web.de>2009-01-07 17:03:25 +0100
commit439aa2d04d5528b5aed288f70895515d1da2dc3d (patch)
treecda2d0bc4d4f2bab189c4a0567cae3c1428c5ed0 /tests/gtk/ex9.nim
parent1c8ddca7e08af9075a930edaca6c522d5e6fd8b5 (diff)
downloadNim-439aa2d04d5528b5aed288f70895515d1da2dc3d.tar.gz
version 0.7.4
Diffstat (limited to 'tests/gtk/ex9.nim')
-rw-r--r--tests/gtk/ex9.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gtk/ex9.nim b/tests/gtk/ex9.nim
index 79b335044..ce2f73862 100644
--- a/tests/gtk/ex9.nim
+++ b/tests/gtk/ex9.nim
@@ -25,9 +25,9 @@ stackbox = gtk_vbox_new(TRUE, 10)
 button1 = gtk_button_new_with_label("Move mouse over button")
 buttonstyle = gtk_style_copy(gtk_widget_get_style(Button1))
 ButtonStyle.bg[GTK_STATE_PRELIGHT].pixel = 0
-ButtonStyle.bg[GTK_STATE_PRELIGHT].red = 0x0000FFFF
-ButtonStyle.bg[GTK_STATE_PRELIGHT].blue = 0
-ButtonStyle.bg[GTK_STATE_PRELIGHT].green = 0
+ButtonStyle.bg[GTK_STATE_PRELIGHT].red = 0x0000FFFF'i16
+ButtonStyle.bg[GTK_STATE_PRELIGHT].blue = 0'i16
+ButtonStyle.bg[GTK_STATE_PRELIGHT].green = 0'i16
 gtk_widget_set_style(button1, buttonstyle)
 button2 = gtk_button_new()
 ALabel = gtk_label_new(Outside)