X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fecore_evas%2Frb_gl_x11.c;h=d8e7a386ee1b5939125edb629468bcb0ff9f6446;hb=f66da33867ffd34e1826370d9d129b5a41402551;hp=523f1af362ce21229abe81eb398f807ffc532e1d;hpb=627a83d5b49b1abd92bd73a10a56042a6d202dfa;p=ruby-ecore.git diff --git a/src/ecore_evas/rb_gl_x11.c b/src/ecore_evas/rb_gl_x11.c index 523f1af..d8e7a38 100644 --- a/src/ecore_evas/rb_gl_x11.c +++ b/src/ecore_evas/rb_gl_x11.c @@ -1,5 +1,5 @@ /* - * $Id$ + * $Id: rb_gl_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++)