#include "rb_window.h"
#include "rb_cursor.h"
+#if 0
static VALUE default_root;
+#endif
static void at_exit ()
{
ecore_shutdown ();
}
+#if 0
static VALUE m_default_root_window_get (VALUE self)
{
return default_root;
}
+#endif
static VALUE c_ev_key_down_init (VALUE self, VALUE event)
{
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);
+#endif
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);
+#endif
/* event mask values */
c = rb_define_class_under (mX, "EventMask", rb_cObject);