Removed init/shutdown methods.
[ruby-ecore.git] / src / ecore_x / rb_ecore_x.c
index c23492c703d7b95f2a765e9876cd4de348fb64bc..c90daecaf064c946843b34125b6eb7f5e3a25851 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_ecore_x.c 39 2004-07-25 13:13:57Z tilman $
+ * $Id: rb_ecore_x.c 53 2004-08-07 11:22:00Z tilman $
  *
  * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
  *
 #include "rb_ecore_x.h"
 #include "rb_window.h"
 
-#ifdef DEBUG
-static VALUE m_init (VALUE self)
-{
-       return INT2FIX (ecore_x_init ());
-}
-
-static VALUE m_shutdown (VALUE self)
-{
-       return INT2FIX (ecore_x_shutdown ());
-}
-#endif
-
 void Init_ecore_x (void)
 {
        rb_require ("ecore");
 
        mX = rb_define_module_under (mEcore, "X");
 
-#ifdef DEBUG
-       rb_define_module_function (mx, "init", m_init, 0);
-       rb_define_module_function (mx, "shutdown", m_shutdown, 0);
-#endif
-
        Init_Window ();
 }