projects
/
ruby-ecore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Ecore::X::Cursor class.
[ruby-ecore.git]
/
src
/
ecore_x
/
rb_ecore_x.c
diff --git
a/src/ecore_x/rb_ecore_x.c
b/src/ecore_x/rb_ecore_x.c
index e6a89b4bf51cd42c1ac15e2eb210757c4b7d822c..83405b02bd30160e3fb726eb8b0dd363efe536e6 100644
(file)
--- a/
src/ecore_x/rb_ecore_x.c
+++ b/
src/ecore_x/rb_ecore_x.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: rb_ecore_x.c 9
4 2004-08-23 10:53:2
5Z tilman $
+ * $Id: rb_ecore_x.c 9
8 2004-08-26 13:12:5
5Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
@@
-28,10
+28,7
@@
#include "../ecore/rb_event_handler.h"
#include "rb_ecore_x.h"
#include "rb_window.h"
#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;
static VALUE default_root;
@@
-322,11
+319,11
@@
void Init_ecore_x (void)
m_default_root_window_get, 0);
Init_Window ();
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);
/* 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 */
rb_global_variable (&default_root);
/* event mask values */