projects
/
ruby-evas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated for new smart object API.
[ruby-evas.git]
/
src
/
rb_text.c
diff --git
a/src/rb_text.c
b/src/rb_text.c
index fcc70c403c2542f75340249ad92293233caee6ae..4c90a347966f7e76b40c6cd611999fd6a92d9ea5 100644
(file)
--- 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
* 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"
#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; \
\
#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)
{
*/
static VALUE c_get_font (VALUE self)
{
- char *font = NULL;
+ c
onst c
har *font = NULL;
Evas_Font_Size size = 0;
GET_OBJ (self, RbEvasObject, e);
Evas_Font_Size size = 0;
GET_OBJ (self, RbEvasObject, e);