Permalink
Browse files

Fix Gdk::Window#geometry

  • Loading branch information...
1 parent c14c301 commit 376e9aa7a664917b020af068a7e63860966730a3 @masaakiaoyagi masaakiaoyagi committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gdk3/ext/gdk3/rbgdkwindow.c
@@ -515,7 +515,7 @@ rg_geometry(VALUE self)
{
gint x, y, w, h;
gdk_window_get_geometry(_SELF(self), &x, &y, &w, &h);
- return rb_ary_new3(5, INT2NUM(x), INT2NUM(y),
+ return rb_ary_new3(4, INT2NUM(x), INT2NUM(y),
INT2NUM(w), INT2NUM(h));
}

0 comments on commit 376e9aa

Please sign in to comment.