X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Frb_text.c;h=4c90a347966f7e76b40c6cd611999fd6a92d9ea5;hb=bacd52d1a8b4136d8dfc98a610aedda1f3cd126e;hp=fcc70c403c2542f75340249ad92293233caee6ae;hpb=cd92308b9349ef9304be020c83f233e84c06da15;p=ruby-evas.git diff --git a/src/rb_text.c b/src/rb_text.c index fcc70c4..4c90a34 100644 --- a/src/rb_text.c +++ b/src/rb_text.c @@ -1,6 +1,4 @@ /* - * $Id: rb_text.c 388 2006-10-07 14:39:24Z tilman $ - * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * * This library is free software; you can redistribute it and/or @@ -26,9 +24,6 @@ #include "rb_evas.h" #include "rb_evas_object.h" -#define DEF_CONST(mod, prefix, name) \ - rb_define_const ((mod), #name, INT2FIX (prefix##name)); - #define GET_COLOR_METHOD(name) \ int r = 0, g = 0, b = 0, a = 0; \ \ @@ -117,7 +112,7 @@ static VALUE c_font_source_set (VALUE self, VALUE val) */ static VALUE c_get_font (VALUE self) { - char *font = NULL; + const char *font = NULL; Evas_Font_Size size = 0; GET_OBJ (self, RbEvasObject, e);