From 124855efe9f3d44625552854cf618a64613fe8c8 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 21 Jul 2012 18:58:28 +1000 Subject: Add extra argument to RGBAImage constructor. --- gtk/PlatGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index d98c23530..91fafcc9b 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1858,7 +1858,7 @@ void ListBoxX::RegisterImage(int type, const char *xpm_data) { } void ListBoxX::RegisterRGBAImage(int type, int width, int height, const unsigned char *pixelsImage) { - RegisterRGBA(type, new RGBAImage(width, height, pixelsImage)); + RegisterRGBA(type, new RGBAImage(width, height, 1.0, pixelsImage)); } void ListBoxX::ClearRegisteredImages() { -- cgit v1.2.3