projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Raise errors in EventHandler#initialize rather than returning nil.
[ruby-ecore.git]
/
src
/
ecore_evas
/
rb_ecore_evas_main.c
diff --git
a/src/ecore_evas/rb_ecore_evas_main.c
b/src/ecore_evas/rb_ecore_evas_main.c
index 3e00f81cb04effc5ac4142b4cbdf17f92472b781..b77925f16fcfae496d28d5262a49217826331d50 100644
(file)
--- a/
src/ecore_evas/rb_ecore_evas_main.c
+++ b/
src/ecore_evas/rb_ecore_evas_main.c
@@
-1,7
+1,7
@@
/*
/*
- * $Id: rb_ecore_evas_main.c
16 2004-06-20 14:28:4
4Z tilman $
+ * $Id: rb_ecore_evas_main.c
348 2005-12-24 17:11:2
4Z tilman $
*
*
- * Copyright (C) 2004
Tilman Sauerbeck (tilman at code-monkey de
)
+ * Copyright (C) 2004
-2005 ruby-ecore team (see AUTHORS
)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-27,16
+27,9
@@
#include "rb_ecore_evas.h"
#include "rb_software_x11.h"
#include "rb_gl_x11.h"
#include "rb_ecore_evas.h"
#include "rb_software_x11.h"
#include "rb_gl_x11.h"
-
-static VALUE m_init (VALUE self)
-{
- return INT2FIX (ecore_evas_init ());
-}
-
-static VALUE m_shutdown (VALUE self)
-{
- return INT2FIX (ecore_evas_shutdown ());
-}
+#include "rb_xrender_x11.h"
+#include "rb_fb.h"
+#include "rb_buffer.h"
void Init_ecore_evas (void)
{
void Init_ecore_evas (void)
{
@@
-45,12
+38,10
@@
void Init_ecore_evas (void)
mEvas = rb_define_module_under (mEcore, "Evas");
mEvas = rb_define_module_under (mEcore, "Evas");
- rb_define_module_function (mEvas, "init", m_init, 0);
- rb_define_module_function (mEvas, "shutdown", m_shutdown, 0);
-
Init_EcoreEvas ();
Init_SoftwareX11 ();
Init_GlX11 ();
Init_EcoreEvas ();
Init_SoftwareX11 ();
Init_GlX11 ();
- /*Init_FrameBuffer ();*/
+ Init_XRenderX11 ();
+ Init_Fb ();
+ Init_Buffer ();
}
}
-