projects
/
ruby-ecore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
16b3ef5
)
Disabled Ecore::X.default_root_window.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 7 May 2007 18:37:25 +0000
(20:37 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Mon, 7 May 2007 18:37:25 +0000
(20:37 +0200)
src/ecore_x/rb_ecore_x.c
patch
|
blob
|
history
diff --git
a/src/ecore_x/rb_ecore_x.c
b/src/ecore_x/rb_ecore_x.c
index d309abcb09d94ffb78329032453d62fab23cecc5..c0c358fd65ff6701f0579c3044416cd6a33c2873 100644
(file)
--- a/
src/ecore_x/rb_ecore_x.c
+++ b/
src/ecore_x/rb_ecore_x.c
@@
-28,7
+28,9
@@
#include "rb_window.h"
#include "rb_cursor.h"
#include "rb_window.h"
#include "rb_cursor.h"
+#if 0
static VALUE default_root;
static VALUE default_root;
+#endif
static void at_exit ()
{
static void at_exit ()
{
@@
-36,10
+38,12
@@
static void at_exit ()
ecore_shutdown ();
}
ecore_shutdown ();
}
+#if 0
static VALUE m_default_root_window_get (VALUE self)
{
return default_root;
}
static VALUE m_default_root_window_get (VALUE self)
{
return default_root;
}
+#endif
static VALUE c_ev_key_down_init (VALUE self, VALUE event)
{
static VALUE c_ev_key_down_init (VALUE self, VALUE event)
{
@@
-384,16
+388,21
@@
void Init_ecore_x (void)
atexit (at_exit);
mX = rb_define_module_under (mEcore, "X");
atexit (at_exit);
mX = rb_define_module_under (mEcore, "X");
+
+#if 0
rb_define_module_function (mX, "default_root_window",
m_default_root_window_get, 0);
rb_define_module_function (mX, "default_root_window",
m_default_root_window_get, 0);
+#endif
Init_Window ();
Init_Cursor ();
Init_Window ();
Init_Cursor ();
+#if 0
/* now create the default root window object */
w = DefaultRootWindow (ecore_x_display_get ());
default_root = TO_ECORE_X_WINDOW (Qnil, w);
rb_global_variable (&default_root);
/* now create the default root window object */
w = DefaultRootWindow (ecore_x_display_get ());
default_root = TO_ECORE_X_WINDOW (Qnil, w);
rb_global_variable (&default_root);
+#endif
/* event mask values */
c = rb_define_class_under (mX, "EventMask", rb_cObject);
/* event mask values */
c = rb_define_class_under (mX, "EventMask", rb_cObject);