/*
- * $Id: rb_ecore_x.c 94 2004-08-23 10:53:25Z tilman $
+ * $Id: rb_ecore_x.c 98 2004-08-26 13:12:55Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
#include "../ecore/rb_event_handler.h"
#include "rb_ecore_x.h"
#include "rb_window.h"
-
-#define DEF_CONST(mod, prefix, name) \
- rb_define_const ((mod), #name, \
- INT2FIX (prefix##name));
+#include "rb_cursor.h"
static VALUE default_root;
m_default_root_window_get, 0);
Init_Window ();
+ Init_Cursor ();
/* now create the default root window object */
w = DefaultRootWindow (ecore_x_display_get ());
default_root = TO_ECORE_X_WINDOW (Qnil, w);
- OBJ_FREEZE (default_root);
rb_global_variable (&default_root);
/* event mask values */