Oops, STR2CSTR is obsolete, use StringValuePtr() instead.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 20 Jun 2004 10:33:13 +0000 (10:33 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 20 Jun 2004 10:33:13 +0000 (10:33 +0000)
src/ecore_evas/rb_ecore_evas.c
src/ecore_evas/rb_gl_x11.c
src/ecore_evas/rb_software_x11.c

index b81cdf46472b1a3164c6ce63e634937704bcfbc4..abf269dd2593921cbe8a48c1e12f2cf5b24b2915 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * $Id: rb_ecore_evas.c 12 2004-06-19 20:15:40Z tilman $
+ * $Id: rb_ecore_evas.c 14 2004-06-20 10:33:13Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
@@ -119,7 +119,7 @@ static VALUE c_title_set (VALUE self, VALUE val)
 
        Check_Type (val, T_STRING);
 
 
        Check_Type (val, T_STRING);
 
-       ecore_evas_title_set (*ee, STR2CSTR (val));
+       ecore_evas_title_set (*ee, StringValuePtr (val));
 
        return Qnil;
 }
 
        return Qnil;
 }
index 07331e859e980e6b849151b1f0cdd0271f217ab6..d8e7a386ee1b5939125edb629468bcb0ff9f6446 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * $Id: rb_gl_x11.c 9 2004-06-19 19:53:47Z tilman $
+ * $Id: rb_gl_x11.c 14 2004-06-20 10:33:13Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
  *
  * 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);
 
        if (!NIL_P (disp)) {
                Check_Type (disp, T_STRING);
-               cdisp = STR2CSTR (disp);
+               cdisp = StringValuePtr (disp);
        }
 
        for (i = 0; i < 4; i++)
        }
 
        for (i = 0; i < 4; i++)
index 89c996e54579d5a2c9ccc69f859b84787941b92b..b077335b3bc684e252e85991c4c70693f95fc8f5 100644 (file)
@@ -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)
  *
  *
  * 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);
 
        if (!NIL_P (disp)) {
                Check_Type (disp, T_STRING);
-               cdisp = STR2CSTR (disp);
+               cdisp = StringValuePtr (disp);
        }
 
        for (i = 0; i < 4; i++)
        }
 
        for (i = 0; i < 4; i++)