Skip to content

Commit

Permalink
Fix Gdk::Window#geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
masaakiaoyagi committed Apr 13, 2012
1 parent c14c301 commit 376e9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdk3/ext/gdk3/rbgdkwindow.c
Expand Up @@ -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));
}

Expand Down

0 comments on commit 376e9aa

Please sign in to comment.