X-Git-Url: http://git.code-monkey.de/?p=ruby-ecore.git;a=blobdiff_plain;f=src%2Fecore_evas%2Frb_software_x11.c;h=b077335b3bc684e252e85991c4c70693f95fc8f5;hp=89c996e54579d5a2c9ccc69f859b84787941b92b;hb=f66da33867ffd34e1826370d9d129b5a41402551;hpb=f921473a59f7b460f19e0c5b8ff559f22ead60d6 diff --git a/src/ecore_evas/rb_software_x11.c b/src/ecore_evas/rb_software_x11.c index 89c996e..b077335 100644 --- a/src/ecore_evas/rb_software_x11.c +++ b/src/ecore_evas/rb_software_x11.c @@ -1,5 +1,5 @@ /* - * $Id: rb_software_x11.c 9 2004-06-19 19:53:47Z tilman $ + * $Id: rb_software_x11.c 14 2004-06-20 10:33:13Z tilman $ * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * @@ -41,7 +41,7 @@ static VALUE c_init (int argc, VALUE *argv, VALUE self) if (!NIL_P (disp)) { Check_Type (disp, T_STRING); - cdisp = STR2CSTR (disp); + cdisp = StringValuePtr (disp); } for (i = 0; i < 4; i++)