X-Git-Url: http://git.code-monkey.de/?p=ruby-evas.git;a=blobdiff_plain;f=src%2Frb_evas_main.c;h=458a713269e5d2dfb7acfe4a3c56d698b4522906;hp=288408a1340714717f91b3e7617d0acc5af1d2dc;hb=c3202d026f3800676461ee407f2a5e46dc20e2f2;hpb=57c054bb97ec81f443c45cae635bb4c7036091c2 diff --git a/src/rb_evas_main.c b/src/rb_evas_main.c index 288408a..458a713 100644 --- a/src/rb_evas_main.c +++ b/src/rb_evas_main.c @@ -1,6 +1,4 @@ /* - * $Id: rb_evas_main.c 29 2004-07-08 18:47:44Z tilman $ - * * Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de) * * This library is free software; you can redistribute it and/or @@ -25,40 +23,27 @@ #include "rb_evas_main.h" #include "rb_evas.h" #include "rb_evas_object.h" +#include "rb_evas_object_events.h" #include "rb_rectangle.h" #include "rb_line.h" #include "rb_gradient.h" #include "rb_polygon.h" #include "rb_image.h" #include "rb_text.h" - -#ifdef DEBUG -static VALUE m_init (VALUE self) -{ - return INT2FIX (evas_init ()); -} - -static VALUE m_shutdown (VALUE self) -{ - return INT2FIX (evas_shutdown ()); -} -#endif +#include "rb_smart.h" void Init_evas (void) { mEvas = rb_define_module ("Evas"); -#ifdef DEBUG - rb_define_module_function (mEvas, "init", m_init, 0); - rb_define_module_function (mEvas, "shutdown", m_shutdown, 0); -#endif - Init_Evas (); Init_EvasObject (); + Init_EvasObjectEvents (); Init_Rectangle (); Init_Line (); Init_Gradient (); Init_Polygon (); Init_Image (); Init_Text (); + Init_Smart (); }