Unbreak Window#resize.
authorTilman Sauerbeck <tilman@code-monkey.de>
Sun, 29 Aug 2004 08:57:12 +0000 (08:57 +0000)
committerTilman Sauerbeck <tilman@code-monkey.de>
Sun, 29 Aug 2004 08:57:12 +0000 (08:57 +0000)
We used to call ecore_x_window_move(), but of course we need to use
ecore_x_window_resize().

src/ecore_x/rb_window.c

index 429559a5e3f760dbf646d23f8a5b99637d912988..b0f0837db8cb686360d90444fb9936dba262e8f6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rb_window.c 102 2004-08-28 10:00:03Z tilman $
+ * $Id: rb_window.c 103 2004-08-29 08:57:12Z tilman $
  *
  * Copyright (C) 2004 ruby-ecore team (see AUTHORS)
  *
@@ -269,7 +269,7 @@ static VALUE c_resize (VALUE self, VALUE w, VALUE h)
        Check_Type (w, T_FIXNUM);
        Check_Type (h, T_FIXNUM);
 
-       ecore_x_window_move (win->real, FIX2INT (w), FIX2INT (h));
+       ecore_x_window_resize (win->real, FIX2INT (w), FIX2INT (h));
 
        return Qnil;
 }